Yoshihiro TSUBOI
/
__collab_test_yt
change wait from 1.0 to 0.5
Fork of __collab_test by
main.cpp@6:e7484c826f75, 2012-06-09 (annotated)
- Committer:
- okano
- Date:
- Sat Jun 09 00:20:37 2012 +0000
- Revision:
- 6:e7484c826f75
- Parent:
- 5:2ccbf6d5d336
- Parent:
- 4:0e5ac8240bb0
- Child:
- 7:fdf571493c66
test 3
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
okano | 5:2ccbf6d5d336 | 1 | #include "mbed.h" |
okano | 5:2ccbf6d5d336 | 2 | |
okano | 5:2ccbf6d5d336 | 3 | DigitalOut myled(LED1); |
okano | 5:2ccbf6d5d336 | 4 | |
okano | 5:2ccbf6d5d336 | 5 | int main() { |
okano | 5:2ccbf6d5d336 | 6 | while(1) { |
okano | 5:2ccbf6d5d336 | 7 | myled = 1; |
okano | 5:2ccbf6d5d336 | 8 | wait(1.0); |
okano | 5:2ccbf6d5d336 | 9 | myled = 0; |
okano | 5:2ccbf6d5d336 | 10 | wait(1.0); |
okano | 5:2ccbf6d5d336 | 11 | } |
okano | 5:2ccbf6d5d336 | 12 | } |