Hi All
can anybody tell me what is the purpose and usage of 9th pin Vref/2
or any related material related to this. (just more that datasheet)
Thanks in Advance
i have all the file but some prob in my circuit
this is my circuit i29.tinypic.com/mto12r.jpg
iam trying to read P2 value using AT89S8252 with following code. always its showing the value 0 only
void timer0_int(void) interrupt 1{ if(++int0count == 1000){ if(pv3=='0'){READ=0;++rval;} pval=P2; printf("Reading = %bx.\n",pval); if(pv3=='0'&&rval>'1'){READ=1;rval=0;} int0count = 0; } }
i have initialized the adc with the following code.
READ=1;WRITE=1;INTP=1; delayloop(1); WRITE=0; delayloop(1); WRITE=1;
still what else iam missing other than the sence? :)