How to make Arduino runs continuous routines even inside a "switch case loop".