Hi everyone,
I am new to the world of Pic processors, and am having a bit of a problem. I am using a pic18f2455 on a custom made board to act as a motor controller by switching FETs, and have noticed that the chip seems to be running at 1/8th of the speed it should (a pause 1000 pauses 8 seconds instead of 1). I am not using the USB facilities, so I do not have an external oscillator,but am planning on just using the 8mhz internal oscillator. Using the command

DEFINE OSC 8

in picbasic doesnt seem to work, and leaving the oscillator speed undefined causes the chip to run at 1/4 speed.

Is there some other configuration option I should be changing? Do I have to change the config bits?

I just got this job after the guy before me was arrested, so I am having to pick up where he left off.

Thanks for your help

Fritz