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.
Dependencies: mbed
Diff: main.cpp
- Revision:
- 11:abe08fabf344
- Parent:
- 10:b190babac114
--- a/main.cpp Mon Dec 09 10:43:47 2019 +0000 +++ b/main.cpp Thu Dec 12 12:35:54 2019 +0000 @@ -153,6 +153,8 @@ wait(1); while(1) { + left1=0; + right1=0; printf("超音波on\r\n 焦電off\r\n" ) ; hs.TrigerOut(); wait(1); @@ -273,6 +275,12 @@ left1 = 60; //左モーター50% right1 = 100;//右モーター50% printf("右折\r\n"); + wait(3); + left1=100; + right1=100; + wait(5); + left1=0; + right1=0; } }