Riko Tandil
/
Nucleo_blink_led_jy
Blink LED
main.cpp
- Committer:
- johanyapson
- Date:
- 2017-02-27
- Revision:
- 1:65712b489c3e
- Parent:
- 0:39f39b8a8242
File content as of revision 1:65712b489c3e:
#include "mbed.h" DigitalOut myled(D2); int main() { while(1) { myled = 1; // LED is ON wait(0.2); // 200 ms myled = 0; // LED is OFF wait(1.0); // 1 sec } }