Report
1 year, 9 months ago.

Deepsleep stm32L053

We saw the exaple below under mbed. Our Led will not flash. (It does if deepsleep is commented) Should this code run on a NUCLEO L053R8.

DigitalOut myled(PA_5); int main(){ int i = 0; while(1){ pc.printf("\r\n%d", i); myled=!myled; WakeUp::set(5); deepsleep(); i++; } }

Comment on this question
Be the first to answer this question.

To post an answer, please log in.