I have built this circuit into Voltmeter / Amp. Meter (only voltmeter works as for now).
-Supply 3.3 volts using 2576 dc/dc converter IC, from 12v electronic transformer
-Jumper select to 5 volts (modifying 2576 3.3 using a LED)
-7805 chip as voltage reference (12v --> 2.5v)
More than 1K codespace is used by using a few lines code, having two float variables!
And this takes so long to execute, I had to remove it from ISR, or refresh becomes disturbed.
No damage to display, PIC chip = cool (at 3.3V), have this working now for weeks, sometimes 24 hours.
Resistor free...