We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4364fa6 commit c703b38Copy full SHA for c703b38
1 file changed
runs/evse_write_modbus.py
@@ -15,4 +15,4 @@
15
value = int(sys.argv[3])
16
17
client = ModbusSerialClient_(str(list(Path("/dev/serial/by-path").glob("*"))[0].resolve()))
18
-client.write_register(register, value, unit=unit)
+client.write_registers(register, value, unit=unit)
0 commit comments