Masa Itou
/
test_p
test
Fork of teste by
main.cpp@0:fb54ccfed762, 2013-05-16 (annotated)
- Committer:
- itoumasa
- Date:
- Thu May 16 09:34:09 2013 +0000
- Revision:
- 0:fb54ccfed762
- Child:
- 2:acb3765befd7
test x
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
itoumasa | 0:fb54ccfed762 | 1 | #include "mbed.h" |
itoumasa | 0:fb54ccfed762 | 2 | |
itoumasa | 0:fb54ccfed762 | 3 | DigitalOut myled(LED1); |
itoumasa | 0:fb54ccfed762 | 4 | |
itoumasa | 0:fb54ccfed762 | 5 | int main() { |
itoumasa | 0:fb54ccfed762 | 6 | while(1) { |
itoumasa | 0:fb54ccfed762 | 7 | myled = 1; |
itoumasa | 0:fb54ccfed762 | 8 | wait(0.2); |
itoumasa | 0:fb54ccfed762 | 9 | myled = 0; |
itoumasa | 0:fb54ccfed762 | 10 | wait(0.2); |
itoumasa | 0:fb54ccfed762 | 11 | } |
itoumasa | 0:fb54ccfed762 | 12 | } |