cano64 / ArduinoSystemStatus

SystemStatus is Arduino library to get information about VCC voltage, Free RAM etc...
84 stars 14 forks source link

SleepWakeOnInterrupt Not compiling #6

Open attinyman opened 7 years ago

attinyman commented 7 years ago

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

5thLabRat commented 6 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.

thetiana commented 5 years ago

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?