HI dahroug i uploaded LM35 temp conversion and display in 3 digit display
k just get how to convert Temp value from analog to digital ..
COnnect LM35 out to any PORT A pin and configure ADCON1 ,ADCON0 .. ADC MODULE ...
u wil get the Digital value in ADRESS register..
PORTB is parallely connected to SegA,B,C, .... G of DIGIT 1, 2, 3 ...
But if u wnt to switch DIGIT 1,2,3 ... COM1, COM2 , COM3 r connected to other port pins..
make sure the driving current should not be more than SOURCE current of pic. if its more .. Use Driving IC (UNLN2003/4 or Transistor Circuit)..
then u can Configure PORT B as output and put value on the PORT B
then switch ON and of all DIGITS so that 3digits valu e can be displayed..
note that .. one DIGIT must ON at any instant so switching time wil be not more than 200 us ..
hope u got it .. if u find difficult ping me..........
Srinu