If you want to pause (forever) until someone sends any character to the board, this will do it:
while(Serial.available() == 0) {}
You’ll need to put this into your sketch somewhere after Serial.begin().
If you want to pause (forever) until someone sends any character to the board, this will do it:
while(Serial.available() == 0) {}
You’ll need to put this into your sketch somewhere after Serial.begin().