> Anyway, I've changed my protocol so a byte with a value like 255 >means PacketStart. Now I can send any value between 0-254 (almost 8 bit >values) and just need to send an extra byte at the start of the packet. >For large packets this would make the comunication a bit faster. You could always reserve another character (say 254) as an escape character, and then esc/255 means you are sending 255 instead of start of packet, and esc/esc means you are sending the value of the escape character. -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads