Thanks for the response Martin.mnfisher wrote: ↑Sat Mar 01, 2025 4:51 pmOne issue is that you have the thermistor connected to AN13 - this is the same as the common pin for one of the displays - and will probably cause an issue. (I changed to AN8)
Also in supervisaTempMax - you attempt to re-enable the TMR2 interrupt at a much higher rate.
Still getting odd stuff on the display though... This seems to be a bug - closing FC and restarting it and it works fine.
I'd rewritten bits - try and work out where the issue was.... Mostly I changed the temperature to an integer value...
Martin
The thermistor must be at AN0. I have changed it in your example and the example still works fine.
Regarding the temperature value, I had it in float type because I need to see the temperature with a decimal on the display. The temperature will range from 0 to 99.9 degrees Celsius.
For the multiplexing I see that it has been done in a different way than mine (taken from the wiki) and it does seem to be more stable.
On the other hand, I don't need to see negative numbers. When the temperature is less than 0, display 1 should only remain at 0. But also when the temperature exceeds 99.9 degrees, the displays must illuminate segment G of the 3 displays, which is why my supervision routineMaxima.
There is also the error that when stopping the simulation it requires me to save the project again even though I have not made changes