Add battery state of charge in case of 12V supply

Issue #175 resolved
passuff created an issue

Please add the support of battery SOC in case the display is hooked to 12V. According to Bafang UART standard the communication is as following:

Read battery remaining capacity:
The host computer send
Read-instruction: 0x11
Read battery remaining capacity: 0x11
The host computer can receive 2 bytes. The correctness of the receiving data is decided by whether the 2 bytes are same, the data is right, the value rages from 0 to 99, represents the battery capacity is from 0% to 99%.

BR

Michael

Comments (3)

  1. Log in to comment