AWOL:
Instead of 'goto' use do/while
This is not the same as a while loop - a "do..while" will always execute the body of the loop at least once, but a "while" may not execute the body of the loop at all.
Do/While will execute the code at least once as is requested/needed (3 Second set of data is sent) and then repeat if the button is still pressed.
Probably my poor choice of syntax. Should maybe have said Do-While or Do..While but the link pointed to the correct place ![]()