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.
Revision 5:3e70a31914ba, committed 2021-12-20
- Comitter:
- tks1
- Date:
- Mon Dec 20 13:28:59 2021 +0000
- Parent:
- 4:e1aa0b348aeb
- Commit message:
- Sonic check;
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sun Dec 19 15:43:05 2021 +0000
+++ b/main.cpp Mon Dec 20 13:28:59 2021 +0000
@@ -189,11 +189,12 @@
}
u1.start();
u2.start();
+ u3.start();
dist1 = u1.get_dist_cm();
dist2 = u2.get_dist_cm();
-
- printf("dsit1 %d\r\n",dist1);
+ dist3 = u3.get_dist_cm();
+ printf("dsit1=[%d],dist2=[%d],dist3=[%d]\r\n",dist1,dist2,dist3);
/*--------------------------*/
//前方向に入力があった時
if(0){//ActPos < Init_Pos - KICK){