public void AddMeasurement(SensorMeasurement datum) { int index = totalMeasurements % debounceSize; recentMeasurements[index] = datum; totalMeasurements++; double sumCO2 = 0; double sumO2 = 0; double sumTemp = 0; double sumHumidity = 0; for (int i = 0; i < debounceSize;...