Ryan, can you show the code? AA ________________________________ From: "bladetooth@verizon.net" To: bladetooth@verizon.net; piclist@mit.edu=20 Sent: Wednesday, December 28, 2011 12:49 PM Subject: [PIC] PIC24H Oscillator, OSCCON register =20 I can?t seem to figure out how to write to OSCCON as if it were a simple re= gister. I?ve included the p24Hxxxx.h header file, but can?t seem to do simp= le things like ?OSCCON.OSWEN =3D true;?. Am I missing something? 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 .