i would like to measure the time of a digital signal that lasts between .75 and 1.5 seconds. The pulsin command's maximum pulse width is too short for my bs2. any ideas? Thanks!
You could watch for the beginning of the pulse, then time the pulse by a loop (with known iteration time) where you count the number of loops before the end of the pulse comes.
Comments