+19
−0
+1
−0
drivers/iio/adc/hx711.c
0 → 100644
+532
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
This is the IIO driver for AVIA HX711 ADC which is mostly used in weighting cells. The protocol is quite simple and using GPIOs: One GPIO is used as clock (SCK) while another GPIO is read (DOUT) The raw value read from the chip is delivered. To get a weight one needs to subtract the zero offset and scale it. Signed-off-by:Andreas Klinger <ak@it-klinger.de> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>