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.
Diff: protocol.h
- Revision:
- 3:b83fb41e2726
- Parent:
- 2:689cb6f63695
- Child:
- 6:88382274a161
diff -r 689cb6f63695 -r b83fb41e2726 protocol.h --- a/protocol.h Sat Nov 28 00:57:32 2015 +0000 +++ b/protocol.h Sat Nov 28 02:34:45 2015 +0000 @@ -10,14 +10,9 @@ const char STOP = 0x05; // Speeds for left wheel -const char LEFT_SPEED1 = 0x10; -const char LEFT_SPEED2 = 0x20; -const char LEFT_SPEED3 = 0x30; - -// Speeds for right wheel -const char RIGHT_SPEED1 = 0x40; -const char RIGHT_SPEED2 = 0x80; -const char RIGHT_SPEED3 = 0x12; +const char SPEED1 = 0x10; +const char SPEED2 = 0x20; +const char SPEED3 = 0x30; const char NEGATIVE = 0x08;