I am attempting to use the LowPower library at
https://github.com/LowPowerLab/LowPower using a Moteino M0. When I attempt to compile the example "powerDownWakePeriodic", I get the following error:
C:\Users\skier\AppData\Local\Temp\arduino_modified_sketch_79047\powerDownWakePeriodic.ino: In function 'void loop()':
powerDownWakePeriodic:12:14: error: 'class LowPowerClass' has no member named 'powerDown'
LowPower.powerDown(SLEEP_8S, ADC_OFF, BOD_OFF);
^
exit status 1
'class LowPowerClass' has no member named 'powerDown'
However, when I select Moteino / Moteino USB in Tools => Board, the code compiles fine. I can't seem to find anything wrong with the code, is there something I am missing?
Using:
- Arduino IDE 1.8.9
- Tried 1.2.0, 1.1.0, and 1.0.0 LowPowerLab SAMD Boards in Boards Manager with same results
Thanks!