Skip to content

Conversation

@hrbonz
Copy link

@hrbonz hrbonz commented Apr 16, 2020

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.

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
Copy link

Coverage Status

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

@rgov
Copy link
Contributor

rgov commented Jul 25, 2020

What about using the constants from umodbus.functions instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants