HX711
HX711 copied to clipboard
example_save_state problem :(
Hi, when i use the example.py file everything works just fine, but i don't want to calibrate each time i turn on raspberry or simply each time i use the scale, i just want to calibrate once and for all, i tried using the example_save_state.py file but i get only errors
Please help
@MBENKI your error is stemming from the .zero() command, not the file. It looks like you're not getting any datapoints back when sampling, which means the median calculation fails. Are you testing with hardware attached?
I don't support this codeset, but I just made a new version of my own that samples multiple HX711 in parallel, if you're interested in trying that out: https://pypi.org/project/hx711-multi/ https://github.com/Morrious/hx711-multi