8051 Interrupts
which ADC you have used ? I cant understand "C" !
RD means "output enable " some times written as "OE"
To get data from ADC to you have to set RD to 1 that is RD = 1 and then to clear it so that ADC could start coverting next analogue signal change ,
After the signal is converted an interrupt occures at INTR or EOC pins (end of conversion ; for ADC0808)
when you recieve interrupt that means data has been converted , get it by setting RD = 1 , save it to some char. variabe
initially RD should be set to zero . i.e RD = 0
look at the schematic for detail (as interrupt )
**broken link removed**