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
Revision 11:abe08fabf344, committed 2019-12-12
- Comitter:
- saeichi
- Date:
- Thu Dec 12 12:35:54 2019 +0000
- Parent:
- 10:b190babac114
- Commit message:
- main;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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; } }