Added Standby mode into WakeUp library. This is a checking program for the standby mode on Nucleo-F446RE and other STM32 series.
Fork of study_step0 by
Please refer notebook.
/users/kenjiArai/notebook/standby-mode-current-consumption-on-nucleo-f446re/#
Diff: main.cpp
- Revision:
- 0:1672d0903bdc
- Child:
- 1:abe49c3395cd
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Aug 10 20:50:46 2017 +0000 @@ -0,0 +1,20 @@ +/* + * Mbed Application program / Study step1 -> LED Blinky + * + * Copyright (c) 2017 Kenji Arai / JH1PJL + * http://www.page.sannet.ne.jp/kenjia/index.html + * http://mbed.org/users/kenjiArai/ + * Created: August 10th, 2017 + * Revised: August 10th, 2017 + */ + +#include "mbed.h" + +DigitalOut my_led(LED1); + +int main() { + while(1) { + my_led = !my_led; + wait(1.0); + } +}