-
Internal Oscillator
Hi All,
I am having difficulty selecting the internal oscillator on a 16f628A controller.
The setup is working fine with an external 4mhz crystal but when ever i change th_XT_OSC option an error occurs in the assembler.
__CONFIG _BODEN_ON & _CP_OFF & _DATA_CP_OFF & _PWRTE_ON & _WDT_OFF & _LVP_OFF & _MCLRE_ON & _XT_OSC
Thanks for your help in advance.
Jeremy
-
Hi Jeremy and welcome on the forum.
i will suggest you to read the following thread from post 1 to 5, you'll discover why and how to fix it.
Presetting Configuration Fuses (PIC Defines) into your Program
http://www.picbasic.co.uk/forum/showthread.php?t=543
-
Problem Solved
Thank you very much mister_e, problem solved!