to display volts with a decimal point example
Volts_2=AIN2*50/51
HI_2 = Volts_2/10
LOW_2 = Volts_2//10
Lcdout $fe, 1, "Bat Volts =",#HI_2,".",#LOW_2
leaving volts * 10 or 100 to maintain precision
to display volts with a decimal point example
Volts_2=AIN2*50/51
HI_2 = Volts_2/10
LOW_2 = Volts_2//10
Lcdout $fe, 1, "Bat Volts =",#HI_2,".",#LOW_2
leaving volts * 10 or 100 to maintain precision
Bookmarks