#include <TM1637Display.h>
// Define the connections to the display
#define CLK 22 // Clock pin (D22)
#define DIO 21 // Data pin (D21)
// Create an instance of the TM1637 display
TM1637Display display(CLK, DIO);
void setup() {
// Set the brightness of the display (0-7)
display.setBrightness(7);
// Display the number 1234
int number = 1234;
display.showNumberDec(number);
}
void loop() {
// Nothing to do here
}