i think your suggestion is for re-scale the input signal,right??
my input is 5-10V, but i want the output show on LCD is the number of 0.00-10.00(decimal number)..
so, if i used your suggestion to scale the input and keep the binary bit in PORTB, the what next step should i do to make the LCD display 0.00-10.00??
is it mean that i need to insert with a formula like y=3.2x+3?
and take the binary value on PORTB as x, do the calculation change to another new result(0-10 in binary form)..
if have to do like that, i still face with a problem that i have no idea on how to write a formula by using assembly language..
how to change the y=3.2x+3 in code that is understanding by assembler??
thanks..