Hi Chrisir, thank you, yes I did test it.
If you try it, you go into the loop immediately when you run the sketch - this is not desired behavior.
The point is to have the button determine when to enter the loop (for serial communications), but at the moment, then you are trapped in the loop, no way out.
The goal is this:
Run the sketch, but do NOT run test().
Wait until the user clicks 1, and then enter the loop.
Stay in the loop until the user clicks 1 again, and then exit the loop.
I appreciate your time, thank you so much.