I am trying to add a sleep cycle to my code and I am experiencing a compiling error. I currently have lowpower.h v 1.8. I tried uploading the powerDownWakePeriodic.ino example and get the error. Taking the library call out of the code removes the error, so I am assuming something is wrong in the cpp or h header. I am using the atmega328p and 1.8.8 version of the IDE on mac osx mojave 10.14.2.
For reference here is the sketch:
// No setup is required for this library
// Enter power down state for 8 s with ADC and BOD module disabled
LowPower.powerDown(SLEEP_8S, ADC_OFF, BOD_OFF);
// Do something here
// Example: Read sensor, data logging, data transmission.