Wake-up timer library to wake from deepsleep/power-down

Dependencies:   LPC1114_WakeInterruptIn

Dependents:   LPC812_Sleep_HelloWorld KL05Z_DCF77_RTC_Clock LPC1114_data_logger mBuinoBlinky ... more

Issue: NUCLEOL031 assert with test example.

Using the test example i'm getting this asssertion

mbed assertation failed: _ops, file: .\mbed-dev\platform/Callback.h, line 526

after resuming from stop.

any help is really appreciated

Pablo

1 comment:

20 Dec 2017

Hello Pablo,

you've to define a callback event if you don't really need it

void mycallback(void) {}

and in the main before your first sleep : WakeUp::attach(&mycallback)

Athony.