hi all,

I need to change the clock speed on the fly or dinamicly in the code ,

i am using pic18f4550 and i need to switch from 48mhz to 24 or even 4 mhz to drop power consumtion in certin setuaion, i can change config bits, but i am using the uart (hserin) ,hserout, also sound and need them to adaopt to the new clock

any ideas ?

thank you