sangyul lee
/
Nucleo_blink_led
main.cpp
- Committer:
- sylee2310
- Date:
- 2019-02-16
- Revision:
- 3:5f1da2a6e94e
- Parent:
- 2:20440b3f84b4
- Child:
- 4:cfce770cd60d
File content as of revision 3:5f1da2a6e94e:
#include "mbed.h" DigitalOut myled(LED1); int main() { while(1) { myled = 1; // LED is ON wait(2.5); // 200 ms myled = 0; // LED is OFF wait(1.0); // 1 sec } }