On Thu, 21 Feb 2002 16:06:43 -0500 Andrew Kilpatrick writes: > Hi Harold, > > Thanks for the response. I'm still unclear as to when is the time to > check the error flags... before reading the byte from the data > register > (if there is one) or after. I've seen code that does it both ways, > but > the datasheet for the PIC suggests that you should read the error > flags > first. Can you clear this up for me? Thanks. > I read them first, then read the data byte. If I had a framing error, I reset the state machine and throw out the received byte. Harold FCC Rules Online at http://hallikainen.com/FccRules Lighting control for theatre and television at http://www.dovesystems.com ________________________________________________________________ GET INTERNET ACCESS FROM JUNO! Juno offers FREE or PREMIUM Internet access for less! Join Juno today! For your FREE software, visit: http://dl.www.juno.com/get/web/. -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads