Store values from a sensor on arrays

What's wrong with what you've now done?

(if you're summing ints, there's no reason to sum into a float; an appropriate integer datatype will suffice)

None, its working as I want, but I imagine if there is a smarter way to code this average

A single loop of 100 iterations?
Not simply summing the same value?

@h1ghsky

TOPIC MERGED.

Could you take a few moments to Learn How To Use The Forum.

Other general help and troubleshooting advice can be found here.
It will help you get the best out of the forum in the future.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.