Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: sensors/sensors.h
- 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