Can you show me your code?
--
You received this message because you are subscribed to the Google Groups "pymodbus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pymodbus+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Okay,
So write registers takes an iterable as an argument, but it also takes a single value that it will wrap in an array. However to protect against passing in None, this code is run::
self.values = values or []
Meaning if you pass in 0x00, it will write []. If you mark this as a bug at github I will put a fix out. For now you can do::
client.write_registers(1, [0x0000])
Thanks,
Galen