2010년 3월 24일 수요일

Sensor Node Reboot !!

센서 노드의 reboot 기능을 다음과 같이 소프트웨어적으로 구현할 수 있다.

* MSP430
void reboot() {
WDTCTL = 0; //watchdog timer control
while(1);
}

* Atmega128
void reboot() {
wdt_enable(1); //watchdog timer
while(1);
}

댓글 없음:

댓글 쓰기