App that goes w/ my article on how to offline sync with mbed
Dependencies: mbed GroveColourSensor
Diff: main.cpp
- Revision:
- 0:7d3b6132c627
- Child:
- 1:9bb077bbb64b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Tue Apr 05 10:24:13 2016 +0000 @@ -0,0 +1,11 @@ +#include "mbed.h" + +DigitalOut led(LED_RED); + +int main() +{ + while (true) { + led = !led; // toggle led + wait(0.2f); + } +} \ No newline at end of file