This commit is contained in:
2019-07-08 19:50:37 +01:00
parent 9bdd889bc4
commit 22b8ee6404
3 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ client.socket = ser
client.connect()
try:
result = client.write_register(address=0x9c47, unit=4, value=0x8000)
result = client.write_register(address=0x9c48, unit=4, value=0x000F)
# result = client.write_coil(address=0x0000, unit=4, value=1)
print(result)
except Exception as e: