PortA 16F627


Closed Thread
Results 1 to 4 of 4

Thread: PortA 16F627

  1. #1
    Join Date
    Jan 2008
    Location
    Dublin, Ireland
    Posts
    33

    Default PortA 16F627

    Hi
    I have a few questions relating to the use of portA on this PIC.
    The pin outs describe pin 4 as RA5\MCLR, if not used as MCLR does this mean I can use RA5 as a regular output and if so, how?

    Also the same is true for pin 15 = RA6\OSC2\CLKOUT. I am using the internal OSC so how do I use this pin as a regular output?

    Any help is appreciated

    Tony

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by tonyfelloni View Post
    The pin outs describe pin 4 as RA5\MCLR, if not used as MCLR does this mean I can use RA5 as a regular output and if so, how?
    Change the CONFIG fuse bits... except for the fact that RA5/MCLR can only be used as an input.

    Also the same is true for pin 15 = RA6\OSC2\CLKOUT. I am using the internal OSC so how do I use this pin as a regular output?
    Same thing, change the CONFIG bits to change the oscillator mode (Internal osc, RA6 I/O)

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


    Did you find this post helpful? Yes | No

    Default

    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  4. #4
    Join Date
    Jan 2008
    Location
    Dublin, Ireland
    Posts
    33


    Did you find this post helpful? Yes | No

    Default

    Thanks Guys

Similar Threads

  1. error worring pbp247
    By chai98a in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 17th January 2010, 04:51
  2. PortA digita input?
    By MOUNTAIN747 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 27th January 2009, 21:55
  3. 16f876 PortA set-up trouble?
    By ronjodu in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th February 2006, 19:31
  4. Can anyone help a beginner in a struggle?
    By douglasjam in forum mel PIC BASIC
    Replies: 1
    Last Post: - 5th May 2005, 23:29
  5. 16F627 porta problems
    By electronicsuk in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 7th September 2003, 10:40

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