     }
     
     if (character == 'D' || character == 'd') {
-      int number = Serial.parseInt();
+      long number = Serial.parseInt();
       displayTime(number, 0);
     }
   }

    0b11111110, //8
    0b11100110, //9
    0b00000001, //dot
  };
  
boolean run_flag = false;
unsigned long counter = 0UL;
int timer = TIMER_DEFAULT;

// prototype for defalt decimal places for display
void displayTime(int number, int decimalplaces = DECIMAL_PLACES);

void setup() {
  Serial.begin(BAUD);

}


void displayTime(long number, int decimal_places) {
  digitalWrite(LE,LOW);
  // calculate each digit for sending
  for (byte i=0; i<DIGITS; i++) {
