   
 }
 
+void valTogger(bool valTog){
+  
+  if(currentLED<=3){ //If valTog is true, change current LED
+      row1[currentLED]=true; //Make false if already true, do later
+      digitalWrite(LED[currentLED],valTog);
+    }
+  if(currentLED>3){
+      row2[currentLED]=true;
+      digitalWrite(LED[currentLED],valTog);
+    }
+}
+

  bool valBit = digitalRead(BIT_BUTT); //Reads LED switcher button
  bool valTog = digitalRead(TOGGLE_BUTT); //Toggles LED value

  if(valBit){
    currentLED++;
    }
  if(valTog&&currentLED<=3){ //If valTog is true, change current LED
      row1[currentLED]=true; //Make false if already true, do later
      digitalWrite(LED[currentLED],valTog);
    }
  if(valTog&&currentLED>3){
      row2[currentLED]=true;
      digitalWrite(LED[currentLED],valTog);
    }

  if(valAdd){
    *out = binaryAdd(row1, row2, 4);
    for(int i = 0; i < 4; i++){
      digitalWrite(LED[6+i],out[i]);
      }


int currentLED = 0;

bool bitPressed = false;
bool addPressed = false;
bool togPressed = false;

bool row1[3];
bool row2[3];
bool* out;


void setup() {
