joseph chen
/
Nucleo_blink_led
just test
Fork of Nucleo_blink_led by
Diff: main.cpp
- Revision:
- 4:ba69a7a84bef
- Parent:
- 2:b60cb847489c
--- a/main.cpp Thu Nov 06 10:13:20 2014 +0000 +++ b/main.cpp Thu May 05 02:37:33 2016 +0000 @@ -1,12 +1,12 @@ #include "mbed.h" -DigitalOut myled(LED1); +DigitalOut myled(PA_5); int main() { while(1) { myled = 1; // LED is ON - wait(0.2); // 200 ms + wait(0.5); // 200 ms myled = 0; // LED is OFF - wait(1.0); // 1 sec + wait(0.5); // 1 sec } }