pic 12F683 question


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Now that I look at the data sheet I see GPIO.4 is analog.
    So add
    Code:
    ANSEL = 0
    Near the beginning of your code. That will make all pins digital.

    Other than that I do not see a problem.

    How are your configs set and how is it wired?
    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    Jan 2010
    Location
    Belgium Taviers 5310
    Posts
    4


    Did you find this post helpful? Yes | No

    Default Ansel = 0

    Thanks Dave for your anwer.
    But " ANSEL = 0 " did not bring a amelioration.
    Regards.
    Bouif2

Similar Threads

  1. MXcom "C-BUS" interface to PIC question
    By tcbcats in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 1st May 2014, 04:59
  2. Pic Interference and Power Filter Question
    By Hylan in forum General
    Replies: 3
    Last Post: - 24th January 2008, 08:50
  3. Remote PIC input question
    By Adrian in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 1st September 2007, 16:44
  4. 12F683 battery powered remote - energy consumption question
    By silentwol in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 13th April 2007, 14:23
  5. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 12th March 2005, 00:14

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