Skip to content

Commit

Permalink
Merge branch '#33' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
OrangeTux committed Jan 28, 2016
2 parents 0b8fc70 + 970acbe commit 05a55fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Doing a Modbus request requires even less code:
# Returns a message or Application Data Unit (ADU) specific for doing
# Modbus TCP/IP.
message = tcp.write_multiple_coils(slave_id=1, address=1, values=[1, 0, 1, 1])
message = tcp.write_multiple_coils(slave_id=1, starting_address=1, values=[1, 0, 1, 1])
# Response depends on Modbus function code. This particular returns the
# amount of coils written, in this case it isr3.
Expand Down
2 changes: 1 addition & 1 deletion scripts/examples/simple_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

# Returns a message or Application Data Unit (ADU) specific for doing
# Modbus TCP/IP.
message = tcp.write_multiple_coils(slave_id=1, address=1, values=[1, 0, 1, 1])
message = tcp.write_multiple_coils(slave_id=1, starting_address=1, values=[1, 0, 1, 1])

# Response depends on Modbus function code. This particular returns the
# amount of coils written, in this case it isr3.
Expand Down

0 comments on commit 05a55fe

Please sign in to comment.