    Serial.print(distanceValues[2]); // Convert ping time to distance and print result (0 = outside set distance range, no ping echo)
    Serial.println("cm");
    
-   Serial.println("PIN_SWITCH: ");
+   Serial.print("PIN_SWITCH: ");
    Serial.println(digitalRead(PIN_SWITCH));
    
    for(int i=0; i < 3; i++) {

//Store of the measured distances of each servo step
//int distanceValues[6];
  int distanceValues[3];

void setup() {  
  //Init distance store to far away
//  for(int i=0; i<servoSteps; i+=1){
//    distanceValues[i] = 0;
//  }
  distanceValues[0] = 0;
  distanceValues[1] = 0;
  distanceValues[2] = 0;
  
  pinMode(PIN_SWITCH, INPUT_PULLUP);           // set pin to input with internal pullup resistor
  

    //to get the with 1,2,3 the needed indices we use i*2 and i*2+1
    //0 = 0,1 / 1 = 2,3 / 2 = 4,5   
    //int distance = (distanceValues[i*2] + distanceValues[i*2+1]) / 2;  
    int distance = distanceValuesFade[i];
    //Serial.println(distance);
    int heightStrip = NUMBER_LEDS/NUMBER_STRIPS;
    
