I SEE what I am doing wrong, I just don't know how to overcome it. Looking at the top of void loop, an first saying if NO option is active, then present the user with a menu.
if (Serial.available() > 0 ) {
if (exitA == true && exitB == true) {
topMenu = Serial.read();
}
I am then making the mistake of choosing between the two rather than having BOTH subMenuA and subMenuB listening into Serial.read (somehow)...
if (exitA == false && exitB == true) {
subMenuA = Serial.read(); // <<-- Option A is active
}
else if (exitA == true && exitB == false) { // OR Option B is active
subMenuB = Serial.read();
}
I get what I am doing wrong, I just do not know how you can have subMenuA, B, C and D listening to Serial.read() at the same time.