#include "SevSeg.h"
SevSeg sevseg;
byte numDigits = 4;
byte digitPins[] = {10,11,12,13};
byte segmentPins[] = {2,3,4,5,6,7,8,9};
bool resistorsOnsegments = true;
byte hardwareConfig = COMMON_CATHODE;
void setup() {
  sevseg.begin(hardwareConfig, numDigits, digitPins, segmentPins, resistorsOnsegments);
  sevseg.setBrightness(90);
}

void loop() {
  sevseg.setNumber(9999);
  sevseg.refreshDisplay();

  }