Honza T.
/
KUBA_blikani_001
Simple blink test.
main.cpp
- Committer:
- dzoni
- Date:
- 2019-08-02
- Revision:
- 1:4cfdf1527e74
- Parent:
- 0:0f248bf5f3ac
File content as of revision 1:4cfdf1527e74:
#include "mbed.h" DigitalOut myled(LED1); int main() { while(1) { myled = 1; // LED is ON wait(0.5); // 200 ms myled = 0; // LED is OFF wait(0.5); // 1 sec } }