from hx711 import HX711 hx = HX711(21, 22) hx.set_scale(48.36) hx.tare() while 1: val = hx.get_units(5) print(val)