mirror of https://github.com/Nonannet/pyhoff.git
docstring for modbus fixed
This commit is contained in:
parent
605b2bc0dd
commit
3df8e392a8
|
@ -330,7 +330,7 @@ class SimpleModbusClient:
|
||||||
address: The register address to read from.
|
address: The register address to read from.
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
The value of the coil.
|
The value of the coil or None if error
|
||||||
"""
|
"""
|
||||||
value = self.read_coils(address)
|
value = self.read_coils(address)
|
||||||
if value:
|
if value:
|
||||||
|
|
Loading…
Reference in New Issue