Skip to content

Commit

Permalink
Fixed example typo in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
bashwork committed Jun 5, 2013
1 parent 14a037d commit f7575ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ For those of you that just want to get started fast, here you go::

from pymodbus.client.sync import ModbusTcpClient
client = ModbusClient('127.0.0.1')
client = ModbusTcpClient('127.0.0.1')
client.write_coil(1, True)
result = client.read_coils(1,1)
print result.bits[0]
Expand Down

0 comments on commit f7575ea

Please sign in to comment.