Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of MATSU-bed_blinky by
Revision 2:f94af4a543bd, committed 2016-05-18
- Comitter:
- Tiryoh
- Date:
- Wed May 18 13:46:00 2016 +0000
- Parent:
- 1:68364bcdd696
- Commit message:
- Fix blink error; ; ?????????????????????
Changed in this revision
--- a/USBDevice.lib Thu Apr 14 06:54:49 2016 +0000 +++ b/USBDevice.lib Wed May 18 13:46:00 2016 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/USBDevice/#d17693b10ae6 +http://mbed.org/users/mbed_official/code/USBDevice/#01321bd6ff89
--- a/main.cpp Thu Apr 14 06:54:49 2016 +0000 +++ b/main.cpp Wed May 18 13:46:00 2016 +0000 @@ -19,14 +19,17 @@ int main() { //sw1.mode(PullUp); - myled = 1; + myled = 0b0001; while(1){ if(myled < 0b1000){ + wait(0.5); myled = myled << 1; }else{ - myled = myled >> 1; + while(myled != 0b0001) { + wait(0.5); + myled = myled >> 1; + } } - wait(0.5); } -} \ No newline at end of file +}
--- a/mbed.bld Thu Apr 14 06:54:49 2016 +0000 +++ b/mbed.bld Wed May 18 13:46:00 2016 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/34e6b704fe68 \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/7c328cabac7e \ No newline at end of file