LowPower.h

I run LowPower.powerDown as follows:

for(int i=0;i<255;i++) //255 * 4s = 15min
LowPower.powerDown(SLEEP_4S, ADC_OFF, BOD_OFF);

  1. at some point the current switches from around 9.7mA to 110mA still in powerDown.
  2. takes a bit longer than 15 min

comments please

sketch_dec23a:1: error: expected unqualified-id before 'for'
sketch_dec23a:1: error: expected constructor, destructor, or type conversion before '<' token
sketch_dec23a:1: error: expected constructor, destructor, or type conversion before '++' token

Given the compiler errors, I suspect the board is running an older version of the sketch.

thanks,
i'm running Arduino uno.
i drop to lowPower approx: 10mA, and after a few min the current jumps up?
thanks,

To get help, you need to post an entire sketch.

To get help, you need to included a link to the library you are trying to use.