Hi there,

I'm new to all this PIC business but loving it! I'm using a 12F683 to output a HPWM on pin 5 no problem. I'm also trying to bit bang data to it on the serial but on pins 6/7, which generally works but does get some garbage through. I've opted to fit a 4 MHz crystal oscillator to pins 2/3. My problem is non-familiarity with PBP! I've been looking at how to set the PIC to use the external oscillator instead of the internal however PBP just gives an error. I've been reading for hours and seem to be getting myself stuck in a loop!
The error I'm getting at the moment for:

@ DEVICE XT_OSC
DEFINE OSC 4

is:

Warning[207] e:\.............\test.asm 47 : Found label after column 1. (DEVICE)
Error[122] e:\...............\test.asm 47 : Illegal opcod (XT_OSC)

I know it is going to be something stupid that I've not done but just getting lost in all the jargon.

Cheers

Jimbo