Closed ldab closed 5 years ago
I don't think this is working on my case. https://github.com/arduino-libraries/ArduinoLowPower/blob/b38a5bc50c06da903f6614f773d2a676203c7bf2/src/samd/ArduinoLowPower.cpp#L21
Implemented:
USBDevice.detach();
LowPower.sleep();
USBDevice.attach();
And works.
Hi,
The sleeping works fine, and after wake up the next function and
Loop
is called as well the timerTicker
function.However on the below implementation of a serial bridge the SERCOM2 does not transmit anymore after external wake, my assumption is that it does not get initialized again.
Could it be something that kept running during sleep and overflowed?
ATSAMD21E18A MCU on a Adafruit Trinket M0