Thanks mister_e ,I change the instruction to count and work good,but now the problem is that the pulse that receive is very short soupouse <20 ms (exactly the minimus time that close one ****ch ) this shut an 4064 to the reset an via RF send me the signal to receiver in the ouput I have the wave perfec.I soupouse that the time to take the measurement are big (100ms) in comparation whit the small pulse that shoot pulse:
count F1,100,W0
I change the value 100 to 75 50 and 25 but the program not work an change too the values that W0 .
IF (W0<600) and (W0>850) then pulse
but no work
I think ,if I count in 100 ms and the pulse to shoot are 20 ms I need to ajust the time fine to make the measurement more precise,but...
Any help
Regards
Melectro




Bookmarks