Ricardo Silva
/
frdm_gpio
0
main.cpp
- Committer:
- risilvaferraz
- Date:
- 2016-01-20
- Revision:
- 0:69185279cb50
File content as of revision 0:69185279cb50:
#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); } }