   shift.writeRegisters();
 }
 
+void showRed3(){
+  shift.setRegisterPin(green3, LOW);   
+  shift.setRegisterPin(red3, HIGH);  
+  shift.writeRegisters();
+}
+
+void showGreen3(){
+  shift.setRegisterPin(green3, HIGH);   
+  shift.setRegisterPin(red3, LOW);   
+  shift.writeRegisters();
+}
+
 void turnOff(){
   shift.clearRegisters();
   shift.writeRegisters();  


Shift shift;

int red1 = 4;
int green1 = 3;
int red2 = 2;
int green2 = 1;

float volRedLow= 0.0;
float volRedHigh = 1.0;

float volGreenLow= 1.0;
float volGreenHigh = 1.8;


  adjust2(voltage2);
  Serial.println(voltage2);
  
  int sensorValue3 = analogRead(A7);
  // Convert the analog reading (which goes from 0 - 1023) to a voltage (0 - 5V):
  float voltage3 = sensorValue3 * (5.0 / 1023.0);
  adjust3(voltage3);
  
}

void adjust1(float v){
