Could be at the beginning of your loop, digitalRead for a switch and you'd go to one function or another from there.
Even then, from either function you could check that switch to go to the other function.
Could be at the beginning of your loop, digitalRead for a switch and you'd go to one function or another from there.
Even then, from either function you could check that switch to go to the other function.