> I can?t seem to figure out how to write to OSCCON as if it were a > simple register. I?ve included the p24Hxxxx.h header file, but can?t > seem to do simple things like ?OSCCON.OSWEN =3D true;?. Am I missing > something? IIRC there is an unlock sequence for OSCCON that you have to perform before= modifying the register. C30 has a macro to handle this easily. --=20 Scanned by iCritical. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .