another try
--------------------------------------------------------------------------------
OK, so i screwed up my copy and paste, code still not working....
any ideas??
Y var word
Value var byte
FOR Value = 0 to 255
Y =(Value/255)*5 '8 bit resolution math
LCDOUT 254,row1+1,"BATTERY ",DEC Y,".",DEC2 Y, " VDC" 'decimal point 3 sig figs
pause 10
next Value
All I get on my screen is "BATTERY 0.00 VDC" and no change
thanks...
Bookmarks