Configuring the GPIO.3/MCLR Pin


Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1
    Join Date
    Dec 2003
    Location
    Wichita KS
    Posts
    511


    Did you find this post helpful? Yes | No

    Default

    Hello CocoaColaKid,

    CCK>What would the command be to configure the 12F675 to use the GPIO.3 pin as an input all the time. The programmer keeps defaulting back to MCLR.<<

    There is no command. BUT! on your source code for your compiler you can put the command...to make sure your programmer keeps it to "input". PUt it at the top of your program.


    @ DEVICE PIC12F675,MCLR_OFF or..
    @ DEVICE PIC12F675,MCLR_ON. Which ever way you want.

    If you look in the INC file of the 12F675, you can see all the control switches...

    Doing this will take a little extra room in your file, but hey...its worth it to me.

    This is also in the FAQ Section too.

    Dwayne
    Last edited by Dwayne; - 28th July 2004 at 20:29.
    Ability to Fly:
    Hurling yourself towards the ground, and missing.

    Engineers that Contribute to flying:
    Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute

    Pilots that are Flying:
    Those who know their limitations, and respect the green side of the grass...

Similar Threads

  1. Is this a K Type sensor?
    By jessey in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 21st November 2009, 13:55
  2. DS1820 with 16f688
    By jessey in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 23rd May 2009, 05:07
  3. Advice-scrutiny for my serial controller
    By kevlar129bp in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 13th December 2008, 17:11
  4. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27
  5. Another RTC, DS1287
    By DavidK in forum Code Examples
    Replies: 0
    Last Post: - 12th December 2006, 17:07

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