I need show the temp in the Display lcd.
Range temperature = 0 ~ 128 °C
Range AD = 00h ~ FFh
1 step 0,5°C = 128/256
35°C = 46h * 0.5
How i do it use assembly to 8051???
Can you help me
Thanks
i havent worked wth 8051
but an idea is to make H46 * 5 get the answer and display the decimal point urself on the second digit . Of course u have to do a hex to decimal routine before displaying .
regards
u can use normalization to implement FPU .. no need to actually implement FPU
represent the non-decimal part by say 7 bits ... and then assign another say 3-4 bits for the decimal portion....