This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Display 8bit data from ADC to asiic on LCD

currently, i am able to get 8bit data from ADC to the micro-p using D0-D7.
i want to convert the 8bit data to temperature reading on the LCD.

since 8bit data there are total 256 combination and each step would be:

x = 100/256; //to get the each step temperature. in this case is 0.39 dC

y = inputval*x; // i get the inputval from D0-D7 and mult by x to give me the exact temperature val in y.

but how can i covert it into asiic?
when i programme my LCD put char as:

lcdClrScr();
lcdPutStr("N:Jepthah"); //the enclosed will be displayed on the screen

therefore it would be ricdulas to dump the y lie this:

lcdClrScr();
lcdPutStr("Y");

because it can display the 'y' char rather than the temperature value.
I need help, thanks!

0