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