#include <TM1637.h>
const int CLK = 2;
const int DIO = 3;
TM1637 tm(CLK, DIO);
unsigned long numberToDisplay = 123456;
void setup() {
Serial.begin(9600);
tm.init();
tm.set(BRIGHT_TYPICAL);
tm.display(0, (numberToDisplay / 1000) % 10);
tm.display(1, (numberToDisplay / 100) % 10);
tm.display(2, (numberToDisplay / 10) % 10);
tm.display(3, numberToDisplay % 10);
}
void loop() {
}