#include <SevSeg.h>
SevSeg timer;
int waktu = 5000;
void setup()
{
Serial.begin(115200);
Serial.print("#giniamathidup");
byte numDigits = 4;
byte digitPins[] = {0, 2, 4, 5};
byte segmentPins[] = {12, 13, 14, 15, 16, 17, 18, 19};
bool resistorsOnSegments = 0;
timer.begin(COMMON_CATHODE, numDigits, digitPins, segmentPins, resistorsOnSegments);
timer.setBrightness(90);
}
void loop()
{
timer.setNumber(2023, 3);
timer.refreshDisplay();
}