PaulStoffregen
Well-known member
Ah, ok then, problem solved.
I guess I misunderstood the code's purpose with msg #9 "The spacing between the two leading edges in the lower trace, or the duration of the pulse upper trace, should be roughly equal to the value of test_u2 in usecs, in all cases." Maybe that sentence was meant to say test_u1 rather than test_u2?
Anyway, the issue has now been fixed, at least on github. It will be in 1.58. You can put the line into your copy if you like. But you can easily avoid this issue with 1.57 or earlier by calling end() at the beginning of your interrupt function, as Defraster mentioned in msg #3.
I guess I misunderstood the code's purpose with msg #9 "The spacing between the two leading edges in the lower trace, or the duration of the pulse upper trace, should be roughly equal to the value of test_u2 in usecs, in all cases." Maybe that sentence was meant to say test_u1 rather than test_u2?
Anyway, the issue has now been fixed, at least on github. It will be in 1.58. You can put the line into your copy if you like. But you can easily avoid this issue with 1.57 or earlier by calling end() at the beginning of your interrupt function, as Defraster mentioned in msg #3.