ichinoseki_Bteam_2019 / Mycan

Dependents:   2019_SwitchNode_AR ArmNode 2919_LineSensor 2019_MD ... more

Revision:
3:055c2d38132f
Parent:
2:67a12201e80b
Child:
4:7aa2809ad177
--- a/Mycan.cpp	Tue Jul 10 12:37:13 2018 +0000
+++ b/Mycan.cpp	Mon Aug 06 05:40:22 2018 +0000
@@ -15,9 +15,9 @@
     _expressAbsoluteValue();//絶対値にする関数
 }
 
-void Mycan::send()
+bool Mycan::send()
 {
-    can.write(CANMessage(td_id, (char*)&td_data, 8));
+    return can.write(CANMessage(td_id, (char*)&td_data, 8));
 }
 
 void Mycan::read()