Thanks Bob (and Doug), I'm make the appropriate changes to the code - changing ^ to a &, and try and get it to switch on an LED if a character is received or another if it there is an error etc. Thanks Andrew -----Original Message----- From: Bob Barr [mailto:bbarr@CALIFORNIA.COM] Sent: 10 December 2002 21:27 To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC]:16C774 Problem - Receiving Characters From PC. On Tue, 10 Dec 2002 11:20:27 -0800, I wrote: >On Tue, 10 Dec 2002 17:12:23 -0000, "Olden A (SApS)" wrote: > > > >> __CONFIG _CP_OFF & _XT_OSC & _PWRTE_ON & _WDT_OFF ^ _BODEN_ON >> > >Did you really mean to put a '^' before the _BODEN_ON? > >Shouldn't it be an '&'? > I just confirmed that using the '^' (XOR), generates a configuration word of 0x000e. The proper config word (0x3ff1) is generated when you AND (&) the _BODEN_ON mask with the other masks. Regards, Bob -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details. -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body