Hi. I have my ADC already running in initialization. This works perfectly. What I am running into is this. I want to change the GPIO over to a ADC input after initialization of the system #and the PINENABLE0 (ADC0_5) is not allowing me. I read the register, change the contents to what I want and save it to the register but the register ignores the changes.
Any ideas here??