Pointers to HX711 C code?

I have both the 2-wire version and the I2C version of the HX711 load cell amplifier. I want to use them on a Raspberry PI3b.

Can anyone point me to C code that will talk to either the 2-wire version or the I2C version? I only want the C code version and no other.

Any help is appreciated.

Thanks

J

Hello…bump…

The Arduino library can be found at https://github.com/bogde/HX711 You should be able to port this code (or the parts that you need) to the Pi.

/mike

yes, I could but it would take me a lot of time which I am short on for this particular project. Thanks

Somewhere someone has done a C version.