
main.cpp@0:7ddfc2e4391a, 2012-02-02 (annotated)
- Committer:
- YYoshino
- Date:
- Thu Feb 02 04:05:31 2012 +0000
- Revision:
- 0:7ddfc2e4391a
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
YYoshino | 0:7ddfc2e4391a | 1 | #include "mbed.h" |
YYoshino | 0:7ddfc2e4391a | 2 | |
YYoshino | 0:7ddfc2e4391a | 3 | BusOut leds(LED1,LED2,LED3,LED4); |
YYoshino | 0:7ddfc2e4391a | 4 | |
YYoshino | 0:7ddfc2e4391a | 5 | int main() { |
YYoshino | 0:7ddfc2e4391a | 6 | leds=0; |
YYoshino | 0:7ddfc2e4391a | 7 | while(1){ |
YYoshino | 0:7ddfc2e4391a | 8 | leds=leds+1; |
YYoshino | 0:7ddfc2e4391a | 9 | } |
YYoshino | 0:7ddfc2e4391a | 10 | } |