Hi , I am still new to Arduino and would like to create a sketch that uses subroutines; when i select a subroutine using an Android app, I send a char by bluetooth to arduino and in the main program select the subroutine with a switch sentence, but the question is...
when i choose a subroutine from the app, i want to stay in that subroutine receiving other information from de app and only if i choose an other option from the app change to another subroutine,, how could i do that?????
I think its a kind a Subroutine loop using a while sentence in the subroutine void but i really dont know how to do that!!
PLEASE SOMEONE HELP ME I CAN´T SLEEP UNTIL I SOLVE THAT !!