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: VNH5019
Dependents: Aigamozu_Robot_展示会 Aigamozu_Robot_March Aigamozu_Robot_templete
Fork of AigamozuControlPackets by
Diff: AigamozuControlPackets.cpp
- Revision:
- 40:c0cf45cf5eeb
- Parent:
- 39:172423aa2921
- Child:
- 41:fbf8f617a6ab
--- a/AigamozuControlPackets.cpp Mon Jun 08 15:47:56 2015 +0000 +++ b/AigamozuControlPackets.cpp Wed Jan 06 10:48:57 2016 +0000 @@ -106,7 +106,7 @@ packetLength = REQUEST_COMMNAD_LENGTH; } -void AigamozuControlPackets::createChangeModeCommand(uint8_t fromID,uint8_t toID,uint8_t,MODE mode){ +void AigamozuControlPackets::createChangeModeCommand(uint8_t fromID,uint8_t toID,uint8_t mode){ uint8_t tmp[] = {'A','G','S','C','F',fromID,'T',toID,mode,'A','G','E'}; for(int i = 0; i < CHANGE_MODE_COMMAND_LENGTH; ++i) packetData[i] = tmp[i]; packetLength = CHANGE_MODE_COMMAND_LENGTH;