Hi all, Im trying to use a PortA pin to read a pot... but Im not getting anywhere with it. I've already done the basics such as setting the Adcon1 for digital pins etc... Is there a problem because port a inputs are Schmitt Triggers?
Hi all, Im trying to use a PortA pin to read a pot... but Im not getting anywhere with it. I've already done the basics such as setting the Adcon1 for digital pins etc... Is there a problem because port a inputs are Schmitt Triggers?
wich PIC are you using? can you provide snippet of your code ?
regards
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
I am using a PIC16F819. It seems as if any pin designated as TTL will work but pins designated as Schmitt Trigger do not... Using the ADCIN command. PortA set to analog mode. TRISA set to %11111111 (All Input)
Bookmarks