> 1. Buffer command byte > 2. Buffer data byte > 3. send a extra byte for "end of message" i.e. 0x0A > 4. when 0x0A is received, handle buffer. As long as neither the command nor data byte can be 0Ah. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu