Kanta Takasu
/
Sonic
sonic check
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 |
diff -r e1aa0b348aeb -r 3e70a31914ba main.cpp --- 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){