Go Down

Topic: Experiment–14:Measurement and Display of Room Temperature using UNO and LM35  (Read 709 times) previous topic - next topic

GolamMostafa


Anindya14

I cannot understand how to add a decimal point in DP1. The Code is working fine but there is no decimal point.

GolamMostafa

Hints: Keep the cc-codes in a separate array (codeArray[]) before sending them onto the display. Now add decimal point by ORing 0x80 with the relevant digit (content of codeArray[2]) and then transfer the codes of codeArray[] onto display.




Go Up