PIC16F1825 unable to Light an LED


Closed Thread
Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default Re: PIC16F1825 unable to Light an LED

    PORTA.5 is an external oscillator pin, and the default configuration is for the HS oscillator.
    Changing the OSCCON register to use the internal oscillator does not free the external oscillator pins.

    You'll need to set the configuration bits for the internal oscillator to be able to use those two pins.
    DT

  2. #2
    Join Date
    Apr 2012
    Location
    Leicester UK
    Posts
    21


    Did you find this post helpful? Yes | No

    Default Re: PIC16F1825 unable to Light an LED

    Thank you for the response.

    Ok. I thought that setting the OSCCON register to use the internal oscillator would have automatically freed those pins up. Right when I am home later I will look at that.

    Many thanks

Similar Threads

  1. LED PWM with High Frequencies?
    By RossWaddell in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 10th February 2013, 04:16
  2. Scrolling LED Badge Hack
    By ozarkshermit in forum Code Examples
    Replies: 0
    Last Post: - 23rd December 2012, 14:10
  3. One of 33 LED output Indicator
    By SOTASOTA in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 5th December 2012, 18:26
  4. Replies: 5
    Last Post: - 10th April 2011, 13:48

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