2009-08-11から1日間の記事一覧
// // // #include <avr/interrupt.h> #include <avr/eeprom.h> #include <avr/io.h> #include <avr/signal.h> #include <avr/sleep.h> #include <avr/wdt.h> typedef unsigned char BYTE; typedef unsigned short WORD; BYTE MODESWState = 0; void WDT_off(void) { MCUSR &= ~(1<</avr/wdt.h></avr/sleep.h></avr/signal.h></avr/io.h></avr/eeprom.h></avr/interrupt.h>