Rob, I just downloaded the manual and looked at page 23-24 where #bit and #byte are I do not see any thing talking about xor What page are you looking at? Andre -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of Andre Abelian Sent: Saturday, May 28, 2005 12:04 PM To: 'Microcontroller discussion list - Public.' Subject: RE: [EE]: XORing output_bit in CCS c Rob, I do not have a manual. Andre -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of Robert Young Sent: Saturday, May 28, 2005 11:44 AM To: 'Microcontroller discussion list - Public.' Subject: RE: [EE]: XORing output_bit in CCS c > > John, > > I tried > > PORTA ^= 0b00010000; it doesn't take it > > Example they have is > > OUTPUT_A (value); > > If I put OUTPUT_A = (0x01); is doesn't take it > It must be the way the example is. > > > Andre > > Look in the manual for #byte and #bit. Rob Young -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist