Hi,
I am using MAX186A IC with parallel port to convert ADC. I have planned to use 8(A0 to A7) channel analog input and each data needs to be read thorugh the parallel port and digital data is converted to measured the voltage.
Please help me how to write the code for MAX186A using parallel port.
Hi,
I am using C compiler for MAX186 ADC.
1. Control byte as 0x8F for channel 0.
2. External clock is used.
3. Single Ended.
D0 - SCLK
D1 - CS
D1 - DIN
Still I am getting '0' in the output.
Please anyone help me to solve the problem or if you are having any sample code please upload it.
I have attached the c code which I am using. Please tell me where I am doing wrong.