 
 // the minimum interval for sampling analog input
 #define MINIMUM_SAMPLING_INTERVAL 10
+#define MINIMUM_SAMPLING_INTERVAL_WITH_PIXY 25
 
 #define REGISTER_NOT_SPECIFIED -1
 


    if ( pingLoopCounter++ > numLoops) {
      pingLoopCounter = 0;
      if (numActiveSonars)
      {
        unsigned int uS = sonars[nextSonar]->ping();
        // Convert ping time to distance in cm and print
        pingResult = uS / US_ROUNDTRIP_CM;

          writePixyBlock(pixyBlockIndex);
        }
        Firmata.write(END_SYSEX);

    }
  }
  if (keepAliveInterval) {
