   }
   WheelPos -= 170;
   return strip.Color((WheelPos * 3), (255 - WheelPos * 3), 0);
-}+}

    for(uint16_t i=0; i<strip.numPixels() && !Serial.available(); i++) { // start from the middle, lighting an LED on each side
      for(uint16_t ii = strip.numPixels() - 2; ii > i && !Serial.available(); ii--) { // reverse
        strip.setPixelColor(ii, c);
        strip.setPixelColor(ii + 1, strip.Color(0, 0, 0));
        strip.show();
        delay(wait);
        if (ii == i + 1 && i + 2 < strip.numPixels()) // Before last

          delay(2 * wait);
        }
        strip.setPixelColor(ii, c);
        strip.setPixelColor(ii + 1, prevColor);
        strip.show();
        delay(wait);
      }

      strip.show();
      delay(wait);
    }
    prevColor = c;
  }
}

