bogde / HX711

An Arduino library to interface the Avia Semiconductor HX711 24-Bit Analog-to-Digital Converter (ADC) for Weight Scales.
MIT License
896 stars 538 forks source link

provide a function to read out current GAIN setting #231

Open drfritz142 opened 2 years ago

drfritz142 commented 2 years ago

Hi (Andreas Motl) - my first pull request. We would like to query the class for its current GAIN setting so that measurements can be scaled up appropriately in the calling program.

If that works with you, I'll soon submit one more regarding a small program bug and a new function that provides an average reading but omits the largest and smallest reading.