Open AWatk opened 6 years ago
Functions names should be a bit more standard.
I would suggest making read() private and only exposing get_value().. Then rename the current get_units() function to get_value_mv() or get_value_raw()
read()
get_value()
get_units()
get_value_mv()
get_value_raw()
read() --> private get_units --> get_value_mv() or get_value_raw()
Functions names should be a bit more standard.
I would suggest making
read()
private and only exposingget_value()
.. Then rename the currentget_units()
function toget_value_mv()
orget_value_raw()