demo project
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
--- 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; };