Post to Twitter?

Agent47

Happy new year!

It looks like you're Arduino is trying to read the serial line even if there's nothing there. Replace the start of your loop function with the following:

void loop() {
if (Serial.available() > 0) {
int message = Serial.read();

i.e. ditch the pre-timed delay and read only when there's something to read.