Takashi Ono
/
test2
test
main.cpp@0:e11c9805c1c9, 2019-09-05 (annotated)
- Committer:
- tughril
- Date:
- Thu Sep 05 20:50:38 2019 +0000
- Revision:
- 0:e11c9805c1c9
test
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tughril | 0:e11c9805c1c9 | 1 | #include "mbed.h" |
tughril | 0:e11c9805c1c9 | 2 | |
tughril | 0:e11c9805c1c9 | 3 | DigitalOut myled(LED1); |
tughril | 0:e11c9805c1c9 | 4 | |
tughril | 0:e11c9805c1c9 | 5 | int main() { |
tughril | 0:e11c9805c1c9 | 6 | while(1) { |
tughril | 0:e11c9805c1c9 | 7 | myled = 1; |
tughril | 0:e11c9805c1c9 | 8 | wait(0.2); |
tughril | 0:e11c9805c1c9 | 9 | myled = 0; |
tughril | 0:e11c9805c1c9 | 10 | wait(0.2); |
tughril | 0:e11c9805c1c9 | 11 | } |
tughril | 0:e11c9805c1c9 | 12 | } |