andyvand / arduino

Automatically exported from code.google.com/p/arduino
Other
0 stars 0 forks source link

bods/bodse in arduino mega #1153

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
recently switch from arduino uno to mega simply because i needed the extra 
inputs, however realized that bods and bodse are not available on arduino mega 
2560. what should i do to my codes? just remove functions which involves 
bods/bodse? will it affect the ability of my device to log data? codes from 
https://github.com/Make-Magazine/Data-Logger/blob/master/Datalogger/Datalogger.i
no

Arduino: 1.6.5 (Windows 8), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 
2560)"
sketch_jul01a.ino: In function 'int doSleep(long int)':
sketch_jul01a:221: error: 'BODS' was not declared in this scope
sketch_jul01a:221: error: 'BODSE' was not declared in this scope
'PRR' was not declared in this scope

any help is very much appreciated
thank you
regards

Original issue reported on code.google.com by JianP...@gmail.com on 11 Jul 2015 at 1:18

Attachments: