i have LM35 and would like to display temperature on the LCD. im able to display current and voltage using ADC with pic18f4520.
on the LCD, it displays voltage and current. how can i blank the lcd, put 0.5sec delay and display temperature using LM35 without interrupting the ADC(analogue to digital conversion)?
i have LM35 and would like to display temperature on the LCD. im able to display current and voltage using ADC with pic18f4520.
on the LCD, it displays voltage and current. how can i blank the lcd, put 0.5sec delay and display temperature using LM35 without interrupting the ADC(analogue to digital conversion)?
As your ADC is reading the analog values ON REQUEST by your software, and you are displaying the values after the conversion is over (your compiler takes care of that), the simplest solution is to:
send a Clear screen command to your display,
delay for 0.5 sec,
read LM35,
display temperature,
delay some time for user to be able to read the temperature displayed,
send a Clear screen command to your display,
display your current and voltage,
.
.
loop