#include "SevSeg.h"
SevSeg s;
void setup() {
  // put your setup code here, to run once:
  byte numDigit=4;
  byte digitalPin[]={14,15,2,5};
  byte segmentPin[]={12,4,19,26,27,13,18,25}; 
  bool registerOnSegment=false;
  byte hardwareConfig=COMMON_ANODE;
  bool updateWithDelays=false;
  bool leadingZeros=false;
  bool disableDecPoint=false;
  s.begin(hardwareConfig,numDigit,digitalPin,segmentPin,registerOnSegment,updateWithDelays,leadingZeros,disableDecPoint);
}

void loop() {
  s.setNumber(millis()/250);
  s.refreshDisplay();
  delay(1);
}