update protocol.h
Fork of Fork_Boss_Communication_Robot by
Revision 11:055c7163e53f, committed 2016-06-07
- Comitter:
- icyzkungz
- Date:
- Tue Jun 07 06:59:03 2016 +0000
- Parent:
- 10:dfcb16b99b85
- Commit message:
- update protocol.h
Changed in this revision
communication.h | Show annotated file Show diff for this revision Revisions of this file |
protocol.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r dfcb16b99b85 -r 055c7163e53f communication.h --- a/communication.h Tue Feb 02 01:29:23 2016 +0000 +++ b/communication.h Tue Jun 07 06:59:03 2016 +0000 @@ -6,7 +6,7 @@ #include "protocol.h" #include "Utilities.h" -//#define ANDANTE_DEBUG +#define ANDANTE_DEBUG class COMMUNICATION
diff -r dfcb16b99b85 -r 055c7163e53f protocol.h --- a/protocol.h Tue Feb 02 01:29:23 2016 +0000 +++ b/protocol.h Tue Jun 07 06:59:03 2016 +0000 @@ -3,9 +3,11 @@ #include "mbed.h" -#define ANDANTE_BUFFER_SIZE 0x8F +//#define ANDANTE_BUFFER_SIZE 0x8F +#define ANDANTE_BUFFER_SIZE 0x1F4 -#define ANDANTE_PROTOCOL_COMMAND_RESPONSE_TIMEOUT_MS 20 +//#define ANDANTE_PROTOCOL_COMMAND_RESPONSE_TIMEOUT_MS 20 +#define ANDANTE_PROTOCOL_COMMAND_RESPONSE_TIMEOUT_MS 65 #define ANDANTE_PROTOCOL_HEADER_0 0xFF #define ANDANTE_PROTOCOL_HEADER_1 0xFF