Hello Bob, > No it doesn't. The algorithm is to simply count how long it was HIGH, > then count how LONG it was low, and store those values, not the actual > code. This compresses the data about 80%. > > I designed one, sampling at 50uS. Almost every RC5 code could be stored > in 30 bytes/code. thanks, this is just what I was looking for. I've been thinking about this method, good to know I'm already on the right track. Best regards, Brusque -- --------------------------------------------------------------------- Edson Brusque C.I.Tronics Lighting Designers Ltda Research and Development Joinville - SC - Brazil http://www.suporte.ind.br/ryan/netiqueta.htm www.citronics.com.br --------------------------------------------------------------------- -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist