PIC12F683 pin GP3 as output


Closed Thread
Results 1 to 15 of 15

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,133


    Did you find this post helpful? Yes | No

    Default Re: PIC12F683 pin GP3 as output

    The weak pullup on GP3 is enabled only when MCLR is enabled.

    You may try also ANSEL to set it to

    DO
    ANSEL=0
    PAUSE 500
    ANSEL.3=1
    PAUSE 500
    LOOP

    This will enable and disable the weak pullup.

    Ioannis

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: PIC12F683 pin GP3 as output

    Quote Originally Posted by Ioannis View Post
    The weak pullup on GP3 is enabled only when MCLR is enabled.

    You may try also ANSEL to set it to

    DO
    ANSEL=0
    PAUSE 500
    ANSEL.3=1
    PAUSE 500
    LOOP

    This will enable and disable the weak pullup.

    Ioannis
    tried, not working. ANSEL.3 is for pin GP4 not for GP3.

Similar Threads

  1. Question on using MCLR pin for interupt. (PIC12F683)
    By g-hoot in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 7th February 2009, 02:15
  2. Turn on output pin
    By savnik in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 11th March 2007, 11:49
  3. Input / output using same pin
    By leonel in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 4th March 2007, 21:19
  4. using TOCK pin as output?
    By droptail in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 8th November 2006, 17:15
  5. How to set analog pin to output 5V?
    By james in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 8th July 2004, 07:24

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