> So, in order to determine how long a pulse lasts I'm thinking that > I'm going to need to do something like: I wrote IR-receive code for RC5, sharp and NEC. It is all in Jal, except for a timing routine that contains some assembler (~ 6 statements). No timers. 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