#define thermoPin 26
int count = 0;
int sum = 0;
void setup() {
Serial.begin();
pinMode(thermoPin, INPUT);
}
void loop() {
sum = sum + analogRead(thermoPin) * 4.25 + 33.5;
count = count + 1;
if (count == 10) {
Serial.println(sum / 50 * 5);
sum = 0;
count = 0;
}
delay(100);
}