12F683 Logic Output Problem?


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Aug 2004
    Posts
    64


    Did you find this post helpful? Yes | No

    Default Re: 12F683 Logic Output Problem?

    Hi
    You are setting gpio.5 as input with trisio = 100000
    Only gpio.3 must be set to work as adc.
    Then the correct trisio = 1000. Or = 8
    Greetings...
    Ruben de la Pena .

  2. #2
    Join Date
    Aug 2004
    Posts
    64


    Did you find this post helpful? Yes | No

    Default Re: 12F683 Logic Output Problem?

    Sorry, my mistake...
    I did not see the data sheet and I have not used this Pic.
    I read you need use AN3 as adc input and I assumed this was at Gpio.3.
    It is at Gpio.4, then you need set trisio.4 as input and the correspondent pin at Ansel.
    But Trisio.5 MUST BE CLEARED to work as output.
    Greetings...
    Ruben de la Pena V.

Members who have read this thread : 0

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