Re: Config & Oscon settings 16F1825
last test, sorry ....
Code:
#CONFIG
__CONFIG _CONFIG1, _FCMEN_OFF & _IESO_OFF & _FOSC_INTOSC & _PLLEN_OFF & _WDTE_SWDTEN & _MCLRE_OFF & _CP_OFF & _BOREN_OFF & _PWRTE_OFF
__CONFIG _CONFIG2, _LVP_OFF
#ENDCONFIG
OSCCON = %01111000
' x------- SPLLEN: don't care when _PLLEN_OFF in config fuse
' -1111--- Internal clock = 16MHz
' -----x-- Unimplemented
' ------00 System Clock Source = Determined by Config Word
DEFINE OSC 16 ' Tell PBP we use a 16MHz Clock
Was ok the first time I posted it, messed when use the QuickEdit... so before posting it again, I switched to Advanced Moxe...paste the code again and we're up! Damn
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks