asadas
Dependencies: mbed
main.cpp
- Committer:
- erweson
- Date:
- 2016-09-21
- Revision:
- 0:125c2a60bb2a
File content as of revision 0:125c2a60bb2a:
#include "mbed.h" DigitalOut gpo(D0); DigitalOut led(LED_RED); int main() { while (true) { gpo = !gpo; // toggle pin led = !led; // toggle led wait(0.2f); } }