rocketscream / Low-Power

Low Power Library for Arduino
www.rocketscream.com
1.27k stars 346 forks source link

TinyGPS seems to break this library #40

Closed vincentgosselin1 closed 7 years ago

vincentgosselin1 commented 7 years ago

Hello, I have a GPS in my setup and I'm using TinyGPS for it. When I use the GPS, the following function does not work: LowPower.powerDown(SLEEP_8S, ADC_OFF, BOD_OFF);

This function does not put my arduino nano in powerdown mode for 8sec. It simply skips over this line without executing it.

Thank you for the help!

-Vincent

vincentgosselin1 commented 7 years ago

SoftwareSerial was not ended using end(). This cured it.