Jochem Brouwer
/
Robot
Test
main.cpp
- Committer:
- jbrouwer
- Date:
- 2016-10-17
- Revision:
- 0:dd4a4e72754a
File content as of revision 0:dd4a4e72754a:
#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); } }