![](/media/cache/profiles/6713524ea458bee4d73485010e9c682f.50x50_q85.jpg)
Helo
main.cpp@0:87fee94feb6a, 2013-10-07 (annotated)
- Committer:
- paris
- Date:
- Mon Oct 07 14:20:02 2013 +0000
- Revision:
- 0:87fee94feb6a
hello
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
paris | 0:87fee94feb6a | 1 | #include "mbed.h" |
paris | 0:87fee94feb6a | 2 | |
paris | 0:87fee94feb6a | 3 | DigitalOut myled(LED1); |
paris | 0:87fee94feb6a | 4 | |
paris | 0:87fee94feb6a | 5 | int main() { |
paris | 0:87fee94feb6a | 6 | while(1) { |
paris | 0:87fee94feb6a | 7 | myled = 1; |
paris | 0:87fee94feb6a | 8 | wait(0.2); |
paris | 0:87fee94feb6a | 9 | myled = 0; |
paris | 0:87fee94feb6a | 10 | wait(0.2); |
paris | 0:87fee94feb6a | 11 | } |
paris | 0:87fee94feb6a | 12 | } |