
disabled. For example, if you are not sure whether CRC for commands is enabled and you want
to set the protocol options to 0x04 (disabling CRC but leaving the general call address enabled),
send these four bytes:
0x8B 0x04 0x7B 0x43
. The fourth byte is the CRC byte. If you are want
to set the protocol options to 0x00 (disabling CRC and the general call address), send these four
bytes:
0x8B 0x00 0x7F 0x42
.
If you are using this command to enable or disable the I²C general call address, the command
does not have an instant effect, so you might need to delay for 1 ms after sending the command.
Read EEPROM
Arguments
Offset:
the address of the first byte to read, from 0 to 127
Length:
the number of bytes to read, from 1 to 32
Response
The requested bytes
Arduino library
void readEeprom(uint8_t offset, uint8_t length, uint8_t * buffer)
uint8_t readEepromDeviceNumber()
Command encoding:
0x93 offset length
Description:
This command reads the specified bytes from the Motoron’s EEPROM memory, which is a
128-byte non-volatile memory that is used to store settings that persist through power
interruptions and resets. See the “Write EEPROM” command below for more information about
the settings stored in EEPROM.
Write EEPROM
Arguments
Offset:
a number between 0 and 127
Value:
a byte value between 0 and 255
Response
None
Arduino library
void writeEeprom(uint8_t offset, uint8_t value)
void writeEepromDeviceNumber(uint8_t number)
Command encoding:
Pololu Motoron Motor Controller User’s Guide
© 2001–2022 Pololu Corporation
9. Command reference
Page 54 of 67