
Originally Posted by
lompa 
Originally Posted by
Nigel Goodwin 
Originally Posted by
lompa thanks for the help, im actually using basic to program the chip, do i still have to follow the same steps? but just do it with basic coding?
If you're using a BASIC compiler all you should need to do is tell your compiler what chip you are using, the compiler should produce the correct code automatically. Presuming your compiler supports the chip of course?.
it wont know i am using a 4mhz external osc though, what happens if the internal ones runs and the external one?
thanks for the help
They can't both run, the design on the PIC means only one oscillator option can be selected.
Anything like this is down to your particular BASIC compiler, how do you currently tell it to use a 4MHz oscillator?. The 16F84 has a number of different oscillator options, if the right one isn't selected it won't work - the 628 is no different, it needs telling which option to use.
As you're using BASIC, this is ENTIRELY down to the compiler, the instructions should tell you how to do it.