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