 void read_mainpage() {
   progSetup();
 
-  Serial.println("READY");
+  Serial.println("READY READ MAINPAGE");
   // Wait for GO command from Serial
   while (!Serial.find("GO")) {
     Serial.println("READY");

  // Initialise control pins
  progSetup();

  Serial.println("READY");
  if (!Serial.find("GO\n")) {
    Serial.println("TIMEOUT");
    return;

void read_infopage() {
  progSetup();

  Serial.println("READY READ INFOPAGE");
  // Wait for GO command from Serial
  while (!Serial.find("GO")) {
    Serial.println("READY");
