are no parity bits, 8 data bits, and one stop bit (N81). The commands implemented here each consist
of a single command byte followed by zero or more data bytes. To make it easy to differentiate the
command bytes from the data bytes, the command bytes are all in the range 0x80-0xff, while the data
bytes are in the range 0x00-0x7f. That is, the command bytes have their most significant bits set, while
the data bytes have that bit unset.
Some commands result in the 3pi sending data back out to the controlling device. For commands
where integers are sent back, the least significant byte is sent first (little endian).
If bad commands or data bytes are detected, the slave program beeps and displays an error
message on the LCD. This means that if you are using the
[https://www.pololu.com/product/978]
, you should probably remove the LCD-related commands before
loading the program onto your 3pi.
The following commands are recognized by the slave program:
Pololu 3pi Robot User’s Guide
© 2001–2019 Pololu Corporation
10. Expansion Information
Page 63 of 85
Содержание 0J5840
Страница 24: ...Pololu 3pi Robot User s Guide 2001 2019 Pololu Corporation 5 How Your 3pi Works Page 24 of 85...
Страница 67: ...Source code Pololu 3pi Robot User s Guide 2001 2019 Pololu Corporation 10 Expansion Information Page 67 of 85...
Страница 77: ...Source code Pololu 3pi Robot User s Guide 2001 2019 Pololu Corporation 10 Expansion Information Page 77 of 85...