Open attinyman opened 7 years ago
I had similar issue with only SleepWakeOnInterrupt not compiling.
In my case the solution was to specify the interrupt pin as the argument for the function. It doesn't default to INT0.
Is this mean if i use?: SystemStatus.SleepWakeOnInterrupt(0) the wake-up signal will be wait on INT0 PIN2 SystemStatus.SleepWakeOnInterrupt(1) the wake-up signal will be wait on INT1 PIN3
Is that correct?
I've tried SystemStatus().SleepWakeOnInterrupt() and SystemStatus.SleepWakeOnInterrupt(). SystemStatus().getVCC works perfectly. Thanks