       lcd.print("Setpoint: ");
       lcd.print(high);
     }
-  }
-  
+
+    if (buttons & BUTTON_LEFT) {
+      lcd.print("LEFT ");
+      lcd.setBacklight(GREEN);
+    }
+    if (buttons & BUTTON_RIGHT) {
+      lcd.print("RIGHT ");
+      lcd.setBacklight(TEAL);
+    }
+    if (buttons & BUTTON_SELECT) {
+      lcd.print("SELECT ");
+      lcd.setBacklight(VIOLET);
+    }
+
 }
 
 // ----------------------------------------------------------------------------------------


// Create our LCD Shield instance
Adafruit_RGBLCDShield lcd = Adafruit_RGBLCDShield();

// ----------------------------------------------------------------------------------------
// Function Name: setup()

String cool = "Cool";
String currentMode = heat;
int tempSetpoint = 75;            // Default temperature setpoint on a reboot
boolean val;                      // Variable for user input
long oldTemp = 0;
int timeout = 30                  // Backlight timeout variable

// -------------Library Interaction--------------
// Data wire is plugged into busPin on the Arduino
