I'm working on a datalogger with the PIC18F252. For speed during datatransfer I need a 20 MHz crystal, for low power consumption when logging I want to use a 32kHz crystal.
I found the OSCSEN fuse to enable swithing and I studied the relevant parts of sections 2, 11 and 19 of the datasheet but I can't do the trick until now.
Is there somebody here who can help me a step further with this?
Look in the 18F252.H file, in the section titled:
"Constants used in setup_oscillator()"
It lists the constants that you can use with the setup_oscillator()
function with the 18F252.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum