At 21.49 2011.12.28, you wrote: >I can?t seem to figure out how to write to OSCCON as if it were a=20 >simple register. I?ve included the p24Hxxxx.h header file, but can?t=20 >seem to do simple things like ?OSCCON.OSWEN =3D true;?. Am I missing somet= hing? You have to unlock it writing some special key data, check the datasheet fo= r details. > > >Ryan Pettigrew >--=20 >http://www.piclist.com PIC/SX FAQ & list archive >View/change your membership options at >http://mailman.mit.edu/mailman/listinfo/piclist --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .