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