In the ASCII table example sketch there is an intentional infinite loop:
if (thisByte == 126) { // you could also use if (thisByte == \'~\') { // This lo