How to make this run faster/more responsive?

This isn't helping:

Serial.print("Menuselect is ");
Serial.println(MenuSelect);

It looks like that is being done every time through the loop.
At 9600 baud that can start to create at least a 17ms delay once the tx buffer fills.
The actual delay will be dependent on the number of characters needed to represent the number MenuSelect and what else is happening inside the loop code.

--- bill

1 Like