I am using CSMB12 microcontroller; and connect it to two sensor; so i want to see the result of this two sensor seperatly on the LCD. I used the ADC; and conncet one of the sensor to AN0(pin 18) and AN1(pin 20). When I get the result on the lcd; although my sensor is stable but the value on the LCD is changed frequently! and seems that change in the value of one of the sensor affect to another one.
At fisrt I use single channel for each of them; and it worked properly. but seem when I combine them; some part of my code doesn't work.
I appreciate any help.
If more information or my code necessary; please let me know.