       Serial.println(F("Can't modify frame timing without image frames first"));
       settings = previous;
     }
+#if TEXTMODE
+  } else if (settings.mode == 'T') {
+    // Read up to the full length of text, or until a null terminator.
+    // Less error handling here; we don't really care what we get.
+    Serial.readBytesUntil('\0', text, sizeof(text));
+#endif
   }
 
   /*Serial.print(len);

    runPixels(false);
  } else if (settings.mode == 'B') {
    runBlobs(false);
  } else if (settings.mode == 'T') {
    runText(false);
  }
}


    runPixels(true);
  } else if (settings.mode == 'B') {
    runBlobs(true);
#if TEXTMODE
  } else if (settings.mode == 'T') {
    runText(true);
#endif
  } else {
    Serial.print(F("Unknown mode: "));
    Serial.println(settings.mode);
