ROBOSTEP_5期 / Mbed 2 deprecated George_Master_Param

Dependencies:   mbed robot

Revision:
45:6df20a8f4b21
Parent:
35:04699b49c463
Child:
47:b77796718a9b
--- a/sensors/sensors.h	Wed May 15 09:57:11 2019 +0000
+++ b/sensors/sensors.h	Fri May 17 05:43:51 2019 +0000
@@ -29,8 +29,13 @@
 
 void wait_gerege();
 
+
+enum CanID{
+    NORMAL,
+    UNSYNC,
+};
 extern CAN can1;
-void can_send(int mode, float duty);
+void can_send(int mode, float duty, int id = NORMAL);
 enum EVENT {
     G_OPEN,
     G_CLOSE,
@@ -41,6 +46,7 @@
 
 int FileOpen();
 void FileWrite();
+void FileWrite(const char *str);
 void FileClose();
 
 #endif
\ No newline at end of file