Read 8 samples, do the average and print the value.

Hi folks, I'm using Arduino Uno and the HX711 to collect data from the load cells. I've just changed the sample rate of the HX711 from 10Hz to 80Hz. Now I want to read the sensor output , do the average of 8 samples and print just 1 value (the average one) every 8 samples. How can I do this?

fn_Read4channels.ino (808 Bytes)

Please find attached the code I'm using to read.

I tried. You FAILED to post ALL of your code.

Please POST the code

...and that's why we ask you to use code tags.
Please edit your posts and add them.