PDA

View Full Version : Port A and Pot...



bearpawz
- 9th November 2004, 17:00
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?

mister_e
- 15th November 2004, 12:20
wich PIC are you using? can you provide snippet of your code ?

regards

bearpawz
- 19th November 2004, 17:19
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)