MOVED: Arduino looping in switch case until button pressed again

This topic has been moved to Programming Questions.