Does this mean I need to "clrf RCREG" ??? Or does the process of "movf RCREG, w" take care of that? How do I empty the buffer? (Lazy Fowler should go back and read the DataSheet again... but no, he asks the piclist instead....) Most importantly, can this be effecting the encoder to cause it to go so slow? Thank you, Fowler -----Original Message----- From: Tony Nixon [mailto:Tony.Nixon@ENG.MONASH.EDU.AU] Sent: Wednesday, June 19, 2002 10:30 PM To: PICLIST@MITVMA.MIT.EDU Subject: Re: [EE]: HT640 and HT648L encoder/decoder questions "Fowler, Paul B." wrote: > Loop ; Loop Here - my serial IO is the > btfss PIR1, RCIF ; Wait for Received Character Set > goto Loop > movf RCREG, w ; Get the Received Character > movwf TXREG ; Send the Character back to RS232 > as an echo check > movwf PORTB ; Send the Character to the LCD > bcf PIR1, RCIF ; Clear the Character Present Flag ^^^^^^^^^^^^ You can't write to the RCIF bit. It is automatically cleared when the receive buffer is empty. -- Best regards Tony mICros http://www.bubblesoftonline.com mailto:sales@bubblesoftonline.com -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body