Yoshihiro TSUBOI
/
__collab_test_yt
change wait from 1.0 to 0.5
Fork of __collab_test by
main.cpp@5:2ccbf6d5d336, 2012-06-09 (annotated)
- Committer:
- okano
- Date:
- Sat Jun 09 00:18:04 2012 +0000
- Revision:
- 5:2ccbf6d5d336
- Parent:
- 1:90119b064e7a
- Child:
- 6:e7484c826f75
test 2
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 | } |