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.
Dependents: MastarNode_AR MastarNode_AR InterfaceNode AR_MastarNode_copy
Diff: Mycan.cpp
- Revision:
- 3:055c2d38132f
- Parent:
- 2:67a12201e80b
--- 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()