Hey, Build_1971 I don't understand why the loop isn't looping? the Serial output just repeats as if it just escapes the while loop without pulse_complete being true.
Here is an extended output.
point 2.0
point 2.1 99
1
point 2.2
1
point 2.5
1
point 2.7
1
point 2.0
point 2.1 99
1
point 2.2
1
point 2.5
1
point 2.7
1
point 2.0
point 2.1 99
1
point 2.2
1
etc...