Mac Lobdell
/
macs_mbed_blinky
the best program ever written
main.cpp
- Committer:
- maclobski
- Date:
- 2016-06-10
- Revision:
- 0:8878e15623e3
- Child:
- 1:0b410816f96b
File content as of revision 0:8878e15623e3:
#include "mbed.h" DigitalOut thisled(LED1); DigitalOut thatled(LED2); int main() { while(1) { thisled = 1; thatled = 0; wait(0.2); thisled = 0; thatled = 1; wait(0.2); } }