Port A and Pot...


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2004
    Posts
    81

    Default Port A and Pot...

    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?

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    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.

  3. #3
    Join Date
    May 2004
    Posts
    81


    Did you find this post helpful? Yes | No

    Default

    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)

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts