> the resulting hash value will probably have a pretty good one-to-one > correspondence with the button pushed. (the advantage being that you > don't have to decode or understand the specifics of the protocol being > used...) You do know that some protocols (like RC5) have one bit that is flipped each message? So if you use this trick you would half the time have to press a button twice :( Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics