Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 1 month 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++; } }