Advertisement
Guest User

Arduino Error

a guest
May 12th, 2017
520
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. Arduino:1.8.0 (Windows 8.1), Płytka:"Arduino Nano, ATmega328"
  2.  
  3. C:\Users\Patryk\AppData\Local\Temp\Simon_attiny13_lfsr\Simon_attiny13_lfsr.ino: In function 'void sleepNow()':
  4.  
  5. Simon_attiny13_lfsr:48: error: 'WDTCR' was not declared in this scope
  6.  
  7. WDTCR = 0; // turn off the Watchdog timer
  8.  
  9. ^
  10.  
  11. C:\Users\Patryk\AppData\Local\Temp\Simon_attiny13_lfsr\Simon_attiny13_lfsr.ino: In function 'int main()':
  12.  
  13. Simon_attiny13_lfsr:129: error: 'WDTCR' was not declared in this scope
  14.  
  15. WDTCR = (1 << WDTIE); // start watchdog timer with 16ms prescaller (interrupt mode)
  16.  
  17. ^
  18.  
  19. Simon_attiny13_lfsr:129: error: 'WDTIE' was not declared in this scope
  20.  
  21. WDTCR = (1 << WDTIE); // start watchdog timer with 16ms prescaller (interrupt mode)
  22.  
  23. ^
  24.  
  25. C:\Users\Patryk\AppData\Local\Temp\Simon_attiny13_lfsr\Simon_attiny13_lfsr.ino:177:36: warning: large integer implicitly truncated to unsigned type [-Woverflow]
  26.  
  27. _delay_loop_2(65536);
  28.  
  29. ^
  30.  
  31. C:\Users\Patryk\AppData\Local\Temp\Simon_attiny13_lfsr\Simon_attiny13_lfsr.ino:192:24: warning: large integer implicitly truncated to unsigned type [-Woverflow]
  32.  
  33. _delay_loop_2(65536);
  34.  
  35. ^
  36.  
  37. exit status 1
  38. 'WDTCR' was not declared in this scope
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement