FOSC in the configs tells the type of oscillator used. In this case internal.
OSCCON sets the speed of the internal with bits 6-3.
Bit 1-0 of OSCCON is for two-speed start-up. If internal is selected in the config, two-speed start-up is disabled.
FOSC in the configs tells the type of oscillator used. In this case internal.
OSCCON sets the speed of the internal with bits 6-3.
Bit 1-0 of OSCCON is for two-speed start-up. If internal is selected in the config, two-speed start-up is disabled.
Dave
Always wear safety glasses while programming.
Bookmarks