   }
 }
 
+void button_press (bool x){
+  if (buttonState == HIGH) {
+    43 d
+  } else {
+    // turn LED off:
+    digitalWrite(ledPin, LOW);
+  }
+
 String notes[] = {
   "C","C#","D","D#","E","F","F#","G","G#","A","A#","B"};
 int index;


// our RGB -> eye-recognized gamma color
byte gammatable[256];

Adafruit_TCS34725 tcs = Adafruit_TCS34725(TCS34725_INTEGRATIONTIME_50MS, TCS34725_GAIN_4X);


}

int color;
  pinMode(ledPin, OUTPUT);
  // initialize the pushbutton pin as an input:
  pinMode(buttonPin, INPUT);

void loop() {
  color = get_colors();
  color_to_note(color);
  delay(1500);
  buttonState = digitalRead(buttonPin);
}



int get_colors(){
  uint16_t clear, red, green, blue;
