 const int buttonpin = 2;
           
 long ticks = 0;
-const byte reset = 6 ;
+byte reset = 6;
 const byte divide = 1;
-int likes;                    // The number of button presses.
+long likes;                     // The number of button presses.
 int num;
 int value;                    // The number displayed on the LEDs.
 int n = 0;
 int buttonState = 0;          // Current state of the button.
 int lastButtonState = 0;      // Previous state of the button.
 long coolDownTicks = 0;       // Hold delay before a new button press is registered.
-unsigned long timer = 0;    
+long timer = 0;               // Tick counter, helps count.
+int ignorePress = 0;          // Ignore the button press when coming out of sleep.
+long glowstart = 0;           // To fade in, and out the display.
+long currentglow = 0;         // To fade in, and out the display.
                                  
 void setup()
 {

  }

  // Least significant digit  
  if(n == 3)
  {
    digitalWrite(digit1pin,0);
    digitalWrite(digit2pin,0);

  // Read the number of Likes from last run.
  eeprom_read_block((void*)&likes, (void*)0, sizeof(likes));
  
  // Serial is only used for debugging.
  // Serial.begin(115200);
}
