PDA

View Full Version : How to use an external oscillator



Mugelpower
- 5th February 2008, 08:20
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.

skimask
- 5th February 2008, 14:19
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/showthread.php?t=543&highlight=presetting+config+registers

Also see...
http://www.picbasic.co.uk/forum/showthread.php?t=575&highlight=multiple+pics