Hello, I am newbie in Arduino and I try to make a robot commended by bluetooth

crossRoads
x is a variable that i use to exit from a function to another
if inputString = f i move to detobe function , then in detobe function when i'd lik to move to blue function i change the variable x to 1 what is mean x = 1 and finly i write "g" what is mean inputString = "g"
i hope that there is no fault :smiley: