pyhys / minimalmodbus

Easy-to-use Modbus RTU and Modbus ASCII implementation for Python.
Apache License 2.0
308 stars 145 forks source link

Why method _onebyte_string_to_num() doesn't exist? #48

Closed fsodano1 closed 3 years ago

fsodano1 commented 4 years ago

Hi, is there a reason why method _onebyte_string_to_num() doesn't exist? I have to convert a bytestring to a 1byte integer. Can i use some alternative method in the library? Thanks.

j123b567 commented 4 years ago

e.g. ord()