Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Arduino:1.8.0 (Windows 8.1), Płytka:"Arduino Nano, ATmega328"
- C:\Users\Patryk\AppData\Local\Temp\Simon_attiny13_lfsr\Simon_attiny13_lfsr.ino: In function 'void sleepNow()':
- Simon_attiny13_lfsr:48: error: 'WDTCR' was not declared in this scope
- WDTCR = 0; // turn off the Watchdog timer
- ^
- C:\Users\Patryk\AppData\Local\Temp\Simon_attiny13_lfsr\Simon_attiny13_lfsr.ino: In function 'int main()':
- Simon_attiny13_lfsr:129: error: 'WDTCR' was not declared in this scope
- WDTCR = (1 << WDTIE); // start watchdog timer with 16ms prescaller (interrupt mode)
- ^
- Simon_attiny13_lfsr:129: error: 'WDTIE' was not declared in this scope
- WDTCR = (1 << WDTIE); // start watchdog timer with 16ms prescaller (interrupt mode)
- ^
- C:\Users\Patryk\AppData\Local\Temp\Simon_attiny13_lfsr\Simon_attiny13_lfsr.ino:177:36: warning: large integer implicitly truncated to unsigned type [-Woverflow]
- _delay_loop_2(65536);
- ^
- C:\Users\Patryk\AppData\Local\Temp\Simon_attiny13_lfsr\Simon_attiny13_lfsr.ino:192:24: warning: large integer implicitly truncated to unsigned type [-Woverflow]
- _delay_loop_2(65536);
- ^
- exit status 1
- 'WDTCR' was not declared in this scope
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement