Internal Oscillator


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2007
    Posts
    34

    Default Internal Oscillator

    Hi All,
    I am having difficulty selecting the internal oscillator on a 16f628A controller.
    The setup is working fine with an external 4mhz crystal but when ever i change th_XT_OSC option an error occurs in the assembler.

    __CONFIG _BODEN_ON & _CP_OFF & _DATA_CP_OFF & _PWRTE_ON & _WDT_OFF & _LVP_OFF & _MCLRE_ON & _XT_OSC

    Thanks for your help in advance.
    Jeremy

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


    Did you find this post helpful? Yes | No

    Default

    Hi Jeremy and welcome on the forum.

    i will suggest you to read the following thread from post 1 to 5, you'll discover why and how to fix it.

    Presetting Configuration Fuses (PIC Defines) into your Program
    http://www.picbasic.co.uk/forum/showthread.php?t=543
    Steve

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

  3. #3
    Join Date
    Dec 2007
    Posts
    34


    Did you find this post helpful? Yes | No

    Default Problem Solved

    Thank you very much mister_e, problem solved!

Similar Threads

  1. Pic16f882 internal oscillator
    By offlander in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 4th October 2009, 20:15
  2. Internal oscillator please help
    By timbash in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 26th February 2009, 14:11
  3. PIC18F4620 Using the Internal Oscillator
    By kiwipiper in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 23rd October 2007, 08:07
  4. 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
  5. PIC12F629 w/ Internal Oscillator
    By RossW in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 24th June 2004, 19:12

Members who have read this thread : 1

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