Pin.PULL_DOWN not available, only Pin.PULL_UP #9884
-
Hi, pin_OUT = Pin(12, Pin.IN, pull=Pin.PULL_DOWN) hx = HX711(pin_SCK, pin_OUT) hx.set_gain(128) while True: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
The pull option is not needed, Try to drop it. If it is still needed, add an external resistor pull-down resistor of about 33kOhm. Note, that the polarity of the result also depends on the wiring of the A inputs. If you swap them, you get the opposite polarity. |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
The pull option is not needed, Try to drop it. If it is still needed, add an external resistor pull-down resistor of about 33kOhm. Note, that the polarity of the result also depends on the wiring of the A inputs. If you swap them, you get the opposite polarity.