
あ
main.cpp@0:fd224206eb47, 2016-05-16 (annotated)
- Committer:
- hx6730
- Date:
- Mon May 16 06:17:12 2016 +0000
- Revision:
- 0:fd224206eb47
2
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
hx6730 | 0:fd224206eb47 | 1 | #include "mbed.h" |
hx6730 | 0:fd224206eb47 | 2 | DigitalOut myled(LED1); |
hx6730 | 0:fd224206eb47 | 3 | int main(){ |
hx6730 | 0:fd224206eb47 | 4 | while(1){ |
hx6730 | 0:fd224206eb47 | 5 | myled=0; |
hx6730 | 0:fd224206eb47 | 6 | wait(0.2); |
hx6730 | 0:fd224206eb47 | 7 | myled=1; |
hx6730 | 0:fd224206eb47 | 8 | wait(0.2); |
hx6730 | 0:fd224206eb47 | 9 | } |
hx6730 | 0:fd224206eb47 | 10 | } |