While the current code for interfacing a single HX711 pulses the clock pin then reads the data pin, a collection of HX711s may not function properly if this is applied to a collection. Too much time may elapse and cause an individual - or all - HX711 chips to power down.
A collection will need to pulse the clock pin of each HX711 simultaneously. This may not be an issue if each is connected to the same GPIO pin. But what if multiple HX711's clock pins are connected to different GPIO pins? And are there any other ramifications of using a single GPIO pin connected to multiple HX711 clock pins?
What should be returned from reading a collection of HX711s? An std::vector< HX711::Value >? Perhaps a new HX711::ValueCollection class?
lg may also provide some useful group GPIO functions in this context: lgGroupClaimInput, lgGroupClaimOutput, and lgGroupFree.
How will current implementation be adapted? e.g an overriden HX711::read? etc...
Considerations:
std::vector< HX711::Value >
? Perhaps a newHX711::ValueCollection
class?