#include <TM1637Display.h>
// Define the pins for CLK and DIO
#define CLK 9
#define DIO 10
// Create a display object
TM1637Display display(CLK, DIO);
void setup() {
// Initialize the display
display.setBrightness(0x0f); // Set brightness (0x00 to 0x0f)
}
void loop() {
// Display numbers from 0 to 99
for (int i = 0; i < 100; i++) {
display.showNumberDec(i, true); // Show number with leading zero
delay(1000); // Wait for a second
}
}