Internal oscillator please help


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Feb 2009
    Posts
    4


    Did you find this post helpful? Yes | No

    Default

    Well Steve, that seems to have done it Thank You!!! I'm not sure I quite understand it all but I can work it out I'm sure.

    Thanks again.

  2. #2


    Did you find this post helpful? Yes | No

    Default

    Hi Tim. Maybe this will help you. I believe the following also applys to the 16F88.

    'INTERNAL OSCILLATOR VALUES for 16f818/819:
    'OSCCON = $00 'for 31.25 khz
    'OSCCON = $10 '125khz
    'OSCCON = $20 '250khz
    'OSCCON = $30 '500khz
    'OSCCON = $40 '1mhz
    'OSCCON = $50 '2mhz
    'OSCCON = $60 '4mhz
    'OSCCON = $70 '8mhz
    adcon1 = 7 ' set inputs to digital. Using the adcin command will automatically convert the ADC port to 'analog
    'OPTION_REG.7=0 ' Switch-ON weak pull-up's on portb
    '@ DEVICE MCLR_ON, INTRC_OSC, WDT_ON, LVP_OFF, BOD_OFF, PWRT_ON, PROTECT_ON
    'CCPMX_ON THE @ DEVICE LINE ABOVE SETS HPWM OUTPUT TO RB3, CCPMX_OFF (DEFAULT IF NOT 'SPECIFIED) = RB2

Similar Threads

  1. Internal vs. external osc for comms
    By mtripoli in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 29th January 2010, 14:58
  2. 12F683 internal pull up
    By hvacrtech in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 27th July 2008, 02:35
  3. PIC18F4620 Using the Internal Oscillator
    By kiwipiper in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 23rd October 2007, 08:07
  4. Use internal program memory like DATA memory
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 30th December 2006, 18:38
  5. PIC12F675, accuracy of baud rate with Internal Oscillator
    By Chris Mayhew in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 31st August 2005, 22:41

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