SevSeg problem

I am Taiwanese , I wrote the program with arduino. something wrong. Can anyone help me solve the problem? Thanks.

#include "SevSeg.h"
SevSeg sevseg;
void setup() {
byte numDigits = 4;
byte digitPins[] = {10, 11, 12, 13};
byte segmentPins[] = {2, 3, 4, 5, 6, 7, 8, 9};
bool resistorsOnSegments = false;
byte hardwareConfig = COMMON_CATHODE;
sevseg.begin(hardwareConfig, numDigits, segmentPins, resistorsOnSegments);
}
void loop() {
sevseg.setNumber(1234);
sevseg.refreshDisplay();
}

Arduino:1.8.10 (Windows 10), 開發板:"Arduino/Genuino Uno"

C:\Users\Yi. Ching\Desktop\123\123.ino: In function 'void setup()':

123:11:74: error: no matching function for call to 'SevSeg::begin(byte&, byte&, byte [8], bool&)'

sevseg.begin(hardwareConfig, numDigits, segmentPins, resistorsOnSegments);

^

In file included from C:\Users\Yi. Ching\Desktop\123\123.ino:1:0:

C:\Users\Yi. Ching\Documents\Arduino\libraries\SevSeg-master/SevSeg.h:53:8: note: candidate: void SevSeg::begin(byte, byte, byte*, byte*, bool, bool, bool, bool)

void begin(byte hardwareConfig, byte numDigitsIn, byte digitPinsIn[],

^~~~~

C:\Users\Yi. Ching\Documents\Arduino\libraries\SevSeg-master/SevSeg.h:53:8: note: no known conversion for argument 4 from 'bool' to 'byte* {aka unsigned char*}'

no matching function for call to 'SevSeg::begin(byte&, byte&, byte [8], bool&)'

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

.png

Please post your code and the error message you are seeing, as text, not an image.

It looks as if your begin(...) call is missing several things, chiefly the digits pins but other things as well.