Hi Chris,
I don't follw you on the WOPR register buy anyway
On the topic of the LCD routines, is this what you meant Henrik:
Lcdout $fe, LINE1 + 15, DEC Volts/10,".",DEC Volts//10," V"
Yes and no. With that you, again, have the same calculation in several places. I wan thinking more in line with this:
Code:
'Voltage Display
if Volts < 100 then '+15
Lcdout $fe, LINE1 + 15
endif
if (Volts > 99) AND (Volts < 1000) then '+14
Lcdout $fe, LINE1 + 14
endif
if Volts > 1000 then '+13
Lcdout $fe, LINE1 + 13
endif
LCDOUT DEC Volts/10,".",DEC Volts//10," V"
Doing that fror current ant RPM too should save you a bit more space.
/Henrik.
Bookmarks