rrrrr
Fork of Communication_Robot by
Diff: communication.h
- Revision:
- 1:1f6864549b92
- Parent:
- 0:0c88691e3904
- Child:
- 2:56c1de1612dd
--- a/communication.h Sun Mar 01 06:28:01 2015 +0000 +++ b/communication.h Sun Mar 01 08:48:23 2015 +0000 @@ -6,6 +6,9 @@ #include "protocol.h" #include "Utilities.h" +#define ANDANTE_DEBUG + + class COMMUNICATION { private: @@ -17,7 +20,8 @@ * @param packet The MX28 packet. * @return MX28_ERRBIT_NONE if succeeded, error code otherwise. */ - uint8_t CommunicatePacket(ANDANTE_PROTOCOL_PACKET *packet); + uint8_t sendCommunicatePacket(ANDANTE_PROTOCOL_PACKET *packet); + uint8_t receiveCommunicatePacket(ANDANTE_PROTOCOL_PACKET *packet); /** Create an MX28 servo object connected to the specified serial half duplex pins, * with the specified baudrate.