- Announcement about May 10th, 2018 update and your password.
I want to be able to measure 2.4ms, 1.2ms and 0.6ms. I looked at 'pos detector
' and counter mode
26. They both look the same to me but I'm trying to figure out how to get it to return once the i/o pin goes low.
Will this work?
frqa := 1
ctra := 0
ctra := (%11010 << 26 ) | (1) ' accumulate while A = 1
waitpne(0 << 1, |< 1, 0)
waitpeq(0 << 1, |< 1, 0)
pulseWidth := phsa
If the grass is greener on the other side...it's time to water your lawn.