Amperka or DIY
/
experiment1
Experiment 1 from "Hacker's workbook"
Diff: main.cpp
- Revision:
- 1:78b3b4be21a0
- Parent:
- 0:1935c10c4411
--- a/main.cpp Wed Sep 17 10:28:15 2014 +0000 +++ b/main.cpp Wed Sep 17 10:32:14 2014 +0000 @@ -1,2 +1,17 @@ +#include "mbed.h" + +DigitalOut pin(D13); + int main() -{} \ No newline at end of file +{ + while(1) + { + pin = true; + + wait(0.1); + + pin = false; + + wait(0.9); + } +} \ No newline at end of file