ArduinoSystemStatus icon indicating copy to clipboard operation
ArduinoSystemStatus copied to clipboard

SleepWakeOnInterrupt Not compiling

Open attinyman opened this issue 8 years ago • 2 comments

I've tried SystemStatus().SleepWakeOnInterrupt() and SystemStatus.SleepWakeOnInterrupt(). SystemStatus().getVCC works perfectly. Thanks

attinyman avatar Jul 30 '17 06:07 attinyman

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.

5thLabRat avatar Dec 18 '17 23:12 5thLabRat

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?

thetiana avatar Nov 19 '19 14:11 thetiana