And instead of having an excise in counting,
OR give variables useful names
int tempPin = A3; // PINO ANALOGICO (CPU) PRA USAR O LM35
//if it's the CPU, why on earth don't you just call it
const byte CpuTempPin = A3; // PINO ANALOGICO (CPU) PRA USAR O LM35
(also note the const and the switch to byte because that's already big enough.
OR just work with arrays and reduce the code to 1/4th of it's size ![]()