Hi,
To make PULSIN wait "forever" for an incoming signal, I added:Thanks again for the RCTIME info, Alain. Is there something you don't know about, hein???Code:LOOP1: PULSIN p_in, 0, l_Bit[Ctr_A] ' measure neg leading pulse if l_Bit[Ctr_A] = 0 then LOOP1: led1 = 1 RCTIME p_in, 1, h_Bit[Ctr_A] ' measure time staying High for Ctr_A = 1 to (bit_count - 1) rctime p_in, 0, l_Bit[Ctr_A] ' measure time staying Low rctime p_in, 1, h_Bit[Ctr_A] ' measure time staying High next Ctr_A RCTIME p_in, 0, l_bit[bit_count]
Bon dimanche et bonnes salutations hélvètes!!!




Bookmarks