The Blinky Example Program that covers all Outrageous Circuit devices.
Dependencies: mbed
Diff: main.cpp
- Revision:
- 0:64d29b695bed
diff -r 000000000000 -r 64d29b695bed main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Mon Sep 15 21:02:19 2014 +0000 @@ -0,0 +1,11 @@ +#include "mbed.h" + +main() +{ + DigitalOut led1(LED1, false); + + while (true) { + led1 = !led1; + wait(.5); + } +}