joseph chen
/
Nucleo_blink_led
just test
Fork of Nucleo_blink_led by
main.cpp
- Committer:
- ittraining
- Date:
- 2016-05-05
- Revision:
- 4:ba69a7a84bef
- Parent:
- 2:b60cb847489c
File content as of revision 4:ba69a7a84bef:
#include "mbed.h" DigitalOut myled(PA_5); int main() { while(1) { myled = 1; // LED is ON wait(0.5); // 200 ms myled = 0; // LED is OFF wait(0.5); // 1 sec } }