   delay(600);
 }
 
+
 void loop() {
-  leftArrow();
-  //rightArrow();
+    //Check for switch status
+    leftButtonState = digitalRead(leftButton);
+    rightButtonState = digitalRead(rightButton);
+    
+
+    //Display an arrow according to the state of the buttons.
+    if(leftButtonState == HIGH) { leftArrow(); }
+    if (rightButtonState == HIGH) { rightArrow(); }
 }

//http://wayoda.github.io/LedControl/
//http://playground.arduino.cc/Main/LedControl

#include "LedControl.h"
#include "binary.h"

  delay(600);
}


/*  This function declares a variable representing a left arrow and applies it to the matrix.
    It then clears it.
    */
void leftArrow() {
  //byte left[8]  = {0x1c,0x38,0x70,0xff,0xff,0x70,0x38,0x1c};
  byte left[8] = {0x18,0x30,0x60,0xff,0xff,0x60,0x30,0x18};
