-
Its a function there are no routines (sub or other wise) in C/C++
-
Never use the String class with Arduino (there's a fault in it)
for a sub menu like operation i need several "questions AND answers" via serial link ( USB, operator ).
means i must stay inside a sub routine without going back to main loop inbetween,
or i would loose the reference, what answer is for what question.
Completely wrong! See the blink without delay example and Finite State Machines in in the playground
- Quit playing with serial event!
Mark