Junichi Katsu
/
mbed_blinky__3
テスト用
Fork of mbed_blinky__2 by
main.cpp@0:5e6fd9fcf7b2, 2016-12-24 (annotated)
- Committer:
- jksoft
- Date:
- Sat Dec 24 06:09:27 2016 +0000
- Revision:
- 0:5e6fd9fcf7b2
- Child:
- 1:f979189cb4ec
??
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jksoft | 0:5e6fd9fcf7b2 | 1 | #include "mbed.h" |
jksoft | 0:5e6fd9fcf7b2 | 2 | |
jksoft | 0:5e6fd9fcf7b2 | 3 | DigitalOut myled(LED1); |
jksoft | 0:5e6fd9fcf7b2 | 4 | |
jksoft | 0:5e6fd9fcf7b2 | 5 | int main() { |
jksoft | 0:5e6fd9fcf7b2 | 6 | while(1) { |
jksoft | 0:5e6fd9fcf7b2 | 7 | myled = 1; |
jksoft | 0:5e6fd9fcf7b2 | 8 | wait(0.2); |
jksoft | 0:5e6fd9fcf7b2 | 9 | myled = 0; |
jksoft | 0:5e6fd9fcf7b2 | 10 | wait(0.2); |
jksoft | 0:5e6fd9fcf7b2 | 11 | } |
jksoft | 0:5e6fd9fcf7b2 | 12 | } |