春ロボ1班(元F3RC4班+)
/
harurobo_sensor_3_8
3/8z
Diff: main.cpp
- Revision:
- 5:652583b7b136
- Parent:
- 4:04669be0ff12
- Child:
- 6:e48b3555b062
--- a/main.cpp Sat Mar 02 07:19:29 2019 +0000 +++ b/main.cpp Sat Mar 02 07:57:21 2019 +0000 @@ -17,7 +17,7 @@ void can_send() { - // printf("start\n\r"); + // printf("start\n\r"); //printf("%fcm\r\n",uw1.get_dist()); dataA = (short)(100 * uw1.get_dist()); //超音波センサーの値を1000倍して送る(受信側で0.001倍して元に戻す) @@ -45,7 +45,7 @@ printf("uw not send\n\r"); } - // printf("uw1=%f uw2=%f uw3=%f uw4=%f\n\r",uw1.get_dist(),uw2.get_dist(),uw3.get_dist(),uw4.get_dist()); + //printf("uw1=%f uw2=%f uw3=%f uw4=%f\n\r",uw1.get_dist(),uw2.get_dist(),uw3.get_dist(),uw4.get_dist()); /*動確用プログラム