Dear sir,
I am working on the microcontroller 87C196NT.I have looking forward to help of expert who can solve my problem on that particular Microcontroller.
As per above said subject,i am looking forward to your help on the 87C196NT micro controller.I am trying to write Source code to initialize the On-Chip ADC of the 87C196NT micro controller.
My main routine for initialization of the On-chip ADC is:
main()
{
ad_time=0xEE; // Sample time=3.6 us and Conv. time=18 us
ad_test=0x00; // Perform Normal Conversion on ANGND
while(1)
{
ad_command=0x1c; // Start Conversion on channel 4 now
delay(); // waiting for 8T time
Reading_adc value();
}
}
Please see my source code and try to help me out.
Awaiting for your response,
Krishna Mishra
India