AdvancedClimateSystems / uModbus

Python implementation of the Modbus protocol.
Mozilla Public License 2.0
211 stars 81 forks source link

README: fix function_codes for example tcp server #89

Open hrbonz opened 4 years ago

hrbonz commented 4 years ago

the function codes used in write_data_store are to write registers but the example code for server/client deals with coils everywhere else. The example scripts are correct but the README got it wrong.

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-0.2%) to 95.861% when pulling 77402a29105f7015d6964a70d8941e02df00945b on hrbonz:wip/fix_readme_code_example into 749d69f62fcda09a6d0bc1776f301ee819cb6076 on AdvancedClimateSystems:master.

rgov commented 4 years ago

What about using the constants from umodbus.functions instead?