How to code serial monitor options

This sounds like a totally separate question(but keep it here, don't fire up a separate topic). Instead, let's answer A) menu and B)variable changes

But first, show us your whole code, not just a snippet. Impossible to figure out context.
Finally, please read
How to get the best out of this forum

1 Like