Benjamin Bergandy
/
fatboyslim
new format
main.cpp@0:0c643a8f88c3, 2015-03-10 (annotated)
- Committer:
- bbergandy
- Date:
- Tue Mar 10 13:53:32 2015 +0000
- Revision:
- 0:0c643a8f88c3
new format
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bbergandy | 0:0c643a8f88c3 | 1 | #include "mbed.h" |
bbergandy | 0:0c643a8f88c3 | 2 | |
bbergandy | 0:0c643a8f88c3 | 3 | DigitalOut myled(LED1); |
bbergandy | 0:0c643a8f88c3 | 4 | |
bbergandy | 0:0c643a8f88c3 | 5 | int main() { |
bbergandy | 0:0c643a8f88c3 | 6 | while(1) { |
bbergandy | 0:0c643a8f88c3 | 7 | myled = 1; |
bbergandy | 0:0c643a8f88c3 | 8 | wait(0.2); |
bbergandy | 0:0c643a8f88c3 | 9 | myled = 0; |
bbergandy | 0:0c643a8f88c3 | 10 | wait(0.2); |
bbergandy | 0:0c643a8f88c3 | 11 | } |
bbergandy | 0:0c643a8f88c3 | 12 | } |