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.
Dependencies: AX-12A Dynamixel mbed iothub_client EthernetInterface NTPClient ConfigFile SDFileSystem iothub_amqp_transport mbed-rtos proton-c-mbed wolfSSL
Diff: RobotNode/RobotNode.h
- Revision:
- 7:6723f6887d00
- Parent:
- 4:36a4eceb1b7f
- Child:
- 8:d98e2dec0f40
diff -r feb0a6311594 -r 6723f6887d00 RobotNode/RobotNode.h
--- a/RobotNode/RobotNode.h Mon Dec 28 17:29:12 2015 +0000
+++ b/RobotNode/RobotNode.h Tue Dec 29 23:31:28 2015 +0000
@@ -14,12 +14,12 @@
enum NodeAction
{
- NA_Rotate = 0x1
+ NA_Rotate = 0x1
};
enum NodePartType
{
- NT_AX12 = 0x1
+ NT_AX12 = 0x1
};
@@ -36,7 +36,7 @@
virtual bool DoAction(int actionId, float actionValue) = 0;
- virtual unsigned char GetLastError() = 0;
+ virtual int GetLastError() = 0;
virtual NodePartType GetNodeType() = 0;
};