Wrong packet ID is used for battery voltage at
|
roomba.getSensors(21, tempBuf, 1); |
Packet ID 21 is the Charging State
Packet ID 22 is the Voltage
It is only a variable naming issue, but the integer value of Packet ID 21 can be mapped to a more meaningful name based on the Code and Charging State mapping.
Wrong packet ID is used for battery voltage at
MQTT-Roomba-ESP01/RoombaESP01_CONFIGURE.ino
Line 126 in 7ad7cd0
Packet ID 21 is the Charging State
Packet ID 22 is the Voltage
It is only a variable naming issue, but the integer value of Packet ID 21 can be mapped to a more meaningful name based on the Code and Charging State mapping.