I may have discovered why sleep mode wasn't working as intended - I forgot I was trying to enter it through an ISR, rather than in the main program loop. I've moved the snippet of code where the sleep instruction is executed into the main program loop - so far, it appears as it is working, but I have yet to exhaustively test this firmware.
Zachary Murtishi
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.