 #include <TimerOne.h>
-
 #include <SevenSegI2C.h>
 #include <Wire.h>
 
 int DIG1 = 2;
 int DIG2 = 7;
-int pot = A1;
-int pot2 = A3;
+int redPot = A1;
+int bluePot = A3;
 
-int lastValue = 0;
+int lastValueRed = 0;
 int lastValueBlue = 0;
 
-int timer1_counter;
 boolean toggle = false;
-int i = 0;
+
 SevenSeg *redSeg;
 SevenSeg *blueSeg;
-
-//SevenSeg seg(0x20, DIG1, DIG2);
 
 void setup()
 {

    blueSeg->writeDigit(DIG2);
  }
}


  toggle = !toggle;
}

void loop()
{
  int temp = analogRead(redPot);
  if (abs(temp - lastValueRed) > 5) {
    lastValueRed = temp;
    redSeg->setNumber(map(lastValueRed, 0, 1023, 0, 99));
  }
  
  temp = analogRead(bluePot);
  if (abs(temp - lastValueBlue) > 5) {
    Serial.println(temp);
    lastValueBlue = temp;
