Closed ricaun closed 6 years ago
this is because D3 is already used by the push button and needed to keep compatibility with old boards. Anyway it's not a problem I'm using sleep forever waked by pin change interrupt on A2 it's working fine
Nice!! I didn't know that pin change interrupts can wake up the arduino, That's awesome, I need to try some codes.
I realy like the ideia to use TPL5110 to manager a wakeup timer.
But I don't understand why you put the DRVN of TPL5110 on A2 pin...
Maybe change to pin D3 how haves external interrupt, this way is possible to put the arduino on SLEEP_FOREVER and TPL5110 will wakeup. And put the button to D4.