Using temp array on already fairly full UNO WiFi Rev2 [Closed]

This is correctly acquiring the analog values but you fail to add them into the array since you commented out the function call where I was adding random stuff into the array.

If you add an
addHistoricalData(tempSensor1, tempSensor2, tempSensor3);

After reading the data then the print will work

addHistoricalData() is the function managing the circular array (ie adds the data in the space available possibly overwriting the oldest data once the array is full)

1 Like