+#include <TimerOne.h>
+
 #include <SevenSegI2C.h>
 #include <Wire.h>
 
 int DIG1 = 2;
 int DIG2 = 7;
 int timer1_counter;
-boolean toggle = 0;
-
+boolean toggle = false;
+int i = 0;
 SevenSeg *redSeg;
 
 //SevenSeg seg(0x20, DIG1, DIG2);


void callback()
{
  Serial.println("HI");
}

ISR(TIMER0_COMPA_vect)        // interrupt service routine 


void loop()
{
  redSeg->setNumber(i++);
  if (i>99){
    i = 0;
  }
  if (toggle)
  {
    redSeg->writeDigit(DIG1);
  }
  else
  {
    redSeg->writeDigit(DIG2);
  }
  delay(50);
}

