PDA

View Full Version : PIC 18f252 will not start



Armadus
- 7th July 2011, 19:28
I am trying to program a PIC 18f252 with PICBasic Pro 2.47 and MicroCode Studio Plus.

The program always works when programed on a 18f242, but often will not start, (or starts after a long delay) on the 18f252

The program:
Pause 500
ADcon1 = 7
Define OSC 20
Include "modededfs.bas"
High PortC.0 'turn on a relay

I am using a 20Mhz Resonator

Any suggestions?

mackrackit
- 8th July 2011, 11:21
How are the configs set?