Hi Ioannis!
Thank you!
The connections are very simple, the sensor output is connected to pin 8 (AN4) of the 18F1320.
So to me this would make ADCON0: %00010001.
Then ADCON1: %11101111, all inputs digital except channel 4 (AN4) which would be set to analog.
Then ADCON2: %10110010 as you wrote.
Or did I misunderstand something completely?
Again, Thank you for all the time you are spending with me.
Ed
Bookmarks