           writePixyBlock(pixyBlockIndex);
         }
         Firmata.write(END_SYSEX);
-      }
+
     }
   }
   if (keepAliveInterval) {

  }
}

void setup()
{
  Firmata.setFirmwareVersion(FIRMATA_MAJOR_VERSION, FIRMATA_MINOR_VERSION);

  Firmata.attach(ANALOG_MESSAGE, analogWriteCallback);


// the minimum interval for sampling analog input
#define MINIMUM_SAMPLING_INTERVAL 10
#define MINIMUM_SAMPLING_INTERVAL_WITH_PIXY 25

#define REGISTER_NOT_SPECIFIED -1

