 }
 
 void powerOn(int r, int g, int b, int wait) {
- // uint8_t a = 0;
   for(int a = 0; a < strip.numPixels()/2; a++) {
     for(int i = 1; i <= 100; i++) {
       double percentage = (double)i/100;

      delay(wait);
  }
}

/*
void rainbow(uint8_t wait) {
  uint16_t i, j;

  for(j=0; j<256; j++) {
    for(i=0; i<strip.numPixels(); i++) {
      strip.setPixelColor(i, Wheel((i+j) & 255));
    }
    strip.show();
    delay(wait);
  }
}
*/


// Slightly different, this makes the rainbow equally distributed throughout

     // Serial.println(r);
      strip.setPixelColor(a, strip.Color((int)r,(int)g,(int)b));
      strip.setPixelColor(((strip.numPixels() - 1) -a), strip.Color((int)r,(int)g,(int)b));
      //delay(10);
      strip.show();
    }
    delay(1);
  }
}

