I need to switch from Analogue to Digital because of the limited range of options available. What I mean is that the ADCON statement (as I understand it) only has 8 options to switch different combinations of Analogue and Digital on and off, with the 16 ADC channels available. Unfortunatly its too late to change which pins I am using for what function. So I assumed it would be best just to turn the whole lot off after doing a read, so that it does not affect the input pins I am not using as ADC channels.
None of my Digital (Nor my analogue) inputs are left floating, every input has its own 10K pull up.
"ADCON0.0=0 ' A/D converter module is shut-off
ADCON0.0=1 ' A/D converter module is operating" I will try this, I had come to the conclusion (and I can't remember how) that this simple statement did not apply to the PIC17C756A, will let you know the results. I will assume I can use the "ADCON0.0=0" anywhere and as many times as I like????
I was not aware of the PIC18F6520, till you mentioned it (ain't this forum just great?) I am currently changing all of my other products from OTP to Flash, but when I looked for a 17F756A, I found nothing, thanks for the info, will check all my Programs/Hardware can deal with this product.
Will let you all know how I get on, and thank you for your patience with this old newbie.
Bookmarks