     if (i == decimal_places) {
       // add decimal place if specified digit
       shiftOut(SDO, CLK, LSBFIRST, segments[output] | segments[10]);
+    } else if (number == 0) {
+      shiftOut(SDO, CLK, LSBFIRST, segments[11]);
     } else {
       shiftOut(SDO, CLK, LSBFIRST, segments[output]);
     }

    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++) {
