well the adcon1 I used before doing some A/d conversion.
I also tried setting the port to output using the Tris command. NOthing works.
Also, I guess when you say I donthave to use the Pot command you are refering to making A/D conversion ??

k