[Photon] ADC rolling average

Hi,

I am taking an analogread, using a Photon, every 10 seconds. However, I noticed there seems to be a rolling average implemented into the result. What is the simplest way I can take several ADC readings at once, to effectively eliminate the rolling average from my result. I can’t use any delay() functions either. Thanks.

Huh?
Not sure where that assertion comes from. I know there is an average over multiple readings in one analogRead() call, but between two calls there should not be any cross talk (other than of the electrical kind due to ADC hardware and external circuitry).

4 Likes