![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
second one
Fork of Nucleo_blink_led by
main.cpp
- Committer:
- mbedaddict
- Date:
- 2015-03-03
- Revision:
- 1:96ee0923a2f8
- Parent:
- 0:e8f064f4a2e6
File content as of revision 1:96ee0923a2f8:
#include "mbed.h" DigitalOut myled(LED1); int main() { while(1) { myled = 1; // LED is ON wait(0.2); // 200 ms myled = 0; // LED is OFF wait(1.0); // 1 sec } }