chien_fu
Newbie level 5
I'm trying to set my oscillator speed at 31kHz (for energy efficiency) but the program simply won't compile. It gives me a syntax error: ":" or "=" expected.
Doesn't change if I use a ":" either... Also doesn't change if I remove "DEFINE"..
Doesn't change if I use a ":" either... Also doesn't change if I remove "DEFINE"..
Code:
DEFINE Device = 12F683
DEFINE OSCCON = %11000000 'Set oscillator to internal, 31 kHz, LFINTOSC Stable