How to use an external oscillator


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2008
    Location
    Selm, Germany
    Posts
    116

    Default How to use an external oscillator

    Hi Guys,

    I want to use an external 20 Mhz oscillator for two 16F628A and one 40Mhz for one 18F1320.

    But the only thing I find in the PBP in the defines about OSC is : "define_osc 20" for 20 Mhz.

    How do I tell PBP that an external Osc is used? In ASM i can use the configuration word but what to do in PBP ?

    Is it possible to use one external Osc for , say 4 Pics?

    Help needed.

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Mugelpower View Post
    Hi Guys,

    I want to use an external 20 Mhz oscillator for two 16F628A and one 40Mhz for one 18F1320.

    But the only thing I find in the PBP in the defines about OSC is : "define_osc 20" for 20 Mhz.

    How do I tell PBP that an external Osc is used? In ASM i can use the configuration word but what to do in PBP ?

    Is it possible to use one external Osc for , say 4 Pics?

    Help needed.
    http://www.picbasic.co.uk/forum/show...nfig+registers

    Also see...
    http://www.picbasic.co.uk/forum/show...=multiple+pics

Similar Threads

  1. A question on defining the external oscillator
    By ozarkshermit in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 22nd November 2009, 14:31
  2. First time with external oscillator - 16F877a Not working
    By financecatalyst in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 15th October 2009, 17:14
  3. PICBasic newbie problem
    By ELCouz in forum mel PIC BASIC Pro
    Replies: 32
    Last Post: - 12th February 2008, 00:55
  4. External oscillator and startup
    By RussMartin in forum General
    Replies: 4
    Last Post: - 17th March 2007, 01:53
  5. Advice please - Warning message
    By malc-c in forum mel PIC BASIC Pro
    Replies: 50
    Last Post: - 23rd January 2007, 13:20

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