Hello,
I have a problem setting the frequency of the 18F4620 PIC. In the datasheet it's written that if I do not have a crystal I can select one of the following frequencies: 8 MHz,4 MHz,2 MHz,1 MHz,500 kHz,125 kHz,250 kHz,31 kHz. The problem is: how do I choose one? I have set the OSC to internal but anything else I try to modify (e.g.OSCCON) I get an error from mplab that it can't recognize it.
Thanks
I have a problem setting the frequency of the 18F4620 PIC. In the datasheet it's written that if I do not have a crystal I can select one of the following frequencies: 8 MHz,4 MHz,2 MHz,1 MHz,500 kHz,125 kHz,250 kHz,31 kHz. The problem is: how do I choose one? I have set the OSC to internal but anything else I try to modify (e.g.OSCCON) I get an error from mplab that it can't recognize it.
Thanks