waiting for another input on remote control
Then, the Arduino can't be in a useless while loop. It must continue to execute loop() over and over, looking for input.
can you be nice and put it in my code on proper place, please
The proper place is not in your code. You do not want the Arduino to stop.
- After 200 loops of case
No. After 200 iterations of a loop in the case statement,...
case someValue:
for(byte i=0; i<200; i++)
{
// Do something - serve, volley, whatever
}
break;