Hi,
You mean you're sampling a signal with the ADC and each "count" in the returned ADC resulut equals a real value of 0.011? Ie, if the ADC returns 455 you want your LCD to display 5.005?
You could start by multiplying the ADC result by 11. That would, with the above example, give you the value 5005. From there it's as simple asThat's one way....Code:LCDOUT $FE, 1, "Value: ", #Result/1000, ".", DEC3 Result//1000
/Henrik.
Bookmarks