test
Dependencies: mbed
main.cpp@0:049e312e258a, 2018-03-27 (annotated)
- Committer:
- SES01
- Date:
- Tue Mar 27 02:03:19 2018 +0000
- Revision:
- 0:049e312e258a
824test
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
SES01 | 0:049e312e258a | 1 | #include "mbed.h" |
SES01 | 0:049e312e258a | 2 | |
SES01 | 0:049e312e258a | 3 | DigitalOut myled(LED1); |
SES01 | 0:049e312e258a | 4 | |
SES01 | 0:049e312e258a | 5 | int main() { |
SES01 | 0:049e312e258a | 6 | while(1) { |
SES01 | 0:049e312e258a | 7 | myled = 1; |
SES01 | 0:049e312e258a | 8 | wait(0.2); |
SES01 | 0:049e312e258a | 9 | myled = 0; |
SES01 | 0:049e312e258a | 10 | wait(0.2); |
SES01 | 0:049e312e258a | 11 | } |
SES01 | 0:049e312e258a | 12 | } |