I am trying to set up the low power module for an instance case, I have installed the low power library but when I am using the line
LowPower.powerDown (SlEEP_5S, ADC_OFF, BOD_OFF) ;
It is throwing an error stating that the 'SLEEP' was not declared in the scope. Any suggestion for that ? Do I have to include a library for sleep too ?
#include "LowPower.h"
/// DON' t worry about the setup and loop, i have defined all those.
This set of code is in
void Loop()
...
else
{
LowPower.powerDown (SLEEP_10S, ADC_OFF, BOD_OFF) ;
SlEEP_5S
... should that beSLEEP_5S
?SlEEP
andSLEEP
?