API Reference
HX711
CircuitPython driver for the HX711 24-bit ADC for Load Cells / Strain Gauges
Author(s): Liz Clark
Implementation Notes
Hardware:
Software and Dependencies:
Adafruit CircuitPython firmware for the supported boards: https://circuitpython.org/downloads
- class adafruit_hx711.hx711.HX711(data_pin: DigitalInOut, clock_pin: DigitalInOut)
HX711 ADC driver
Initialize the HX711 module.
- Parameters:
data_pin – The data pin.
clock_pin – The clock pin.
- power_down(down: bool) None
Power down or wake up the HX711.
- Parameters:
down – True to power down, False to wake up.
- read(chan_gain: int = CHAN_A_GAIN_128) int
Read ADC value with specified gain.
- Parameters:
chan_gain – Gain and channel configuration.
- Returns:
ADC value.
AnalogIn
AnalogIn for ADC readings.
Author(s): Liz Clark