
3/8z
Revision 6:e48b3555b062, committed 2019-03-08
- Comitter:
- yuki0701
- Date:
- Fri Mar 08 07:07:37 2019 +0000
- Parent:
- 5:652583b7b136
- Commit message:
- a
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 652583b7b136 -r e48b3555b062 main.cpp --- a/main.cpp Sat Mar 02 07:57:21 2019 +0000 +++ b/main.cpp Fri Mar 08 07:07:37 2019 +0000 @@ -17,8 +17,8 @@ void can_send() { - // printf("start\n\r"); - //printf("%fcm\r\n",uw1.get_dist()); + // printf("start\n\r"); + //printf("%fcm\r\n",uw4.get_dist()); dataA = (short)(100 * uw1.get_dist()); //超音波センサーの値を1000倍して送る(受信側で0.001倍して元に戻す) dataB = (short)(100 * uw2.get_dist()); @@ -40,7 +40,7 @@ if(can1.write(CANMessage(3,can_data,8))) { led = 1; //printf("%fcm\r\n",uw1.get_dist()); - //printf("send\n\r"); + printf("send\n\r"); } else { printf("uw not send\n\r"); }