John-Paul Stanford
/
Test
test
main.cpp@0:da3c2502984d, 2014-10-29 (annotated)
- Committer:
- johsta01
- Date:
- Wed Oct 29 15:11:02 2014 +0000
- Revision:
- 0:da3c2502984d
- Child:
- 1:3ebdb26f6a68
Test
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
johsta01 | 0:da3c2502984d | 1 | #include "mbed.h" |
johsta01 | 0:da3c2502984d | 2 | |
johsta01 | 0:da3c2502984d | 3 | DigitalOut myled(LED1); |
johsta01 | 0:da3c2502984d | 4 | |
johsta01 | 0:da3c2502984d | 5 | int main() { |
johsta01 | 0:da3c2502984d | 6 | while(1) { |
johsta01 | 0:da3c2502984d | 7 | myled = 1; |
johsta01 | 0:da3c2502984d | 8 | wait(0.2); |
johsta01 | 0:da3c2502984d | 9 | myled = 0; |
johsta01 | 0:da3c2502984d | 10 | wait(0.2); |
johsta01 | 0:da3c2502984d | 11 | } |
johsta01 | 0:da3c2502984d | 12 | |
johsta01 | 0:da3c2502984d | 13 | wait(0,2); |
johsta01 | 0:da3c2502984d | 14 | } |