#include <SevenSegmentTM1637.h>

// Define the pins for the TM1637 modules
#define CLK_PIN 2
#define DIO_PIN 3

// Create instances for each display
SevenSegmentTM1637 display1(CLK_PIN, DIO_PIN);
SevenSegmentTM1637 display2(CLK_PIN, DIO_PIN);


void setup() {
  // Initialize each display
  display1.begin();
  display2.begin();
  
}

void loop() {
  // Display "1111" on the first display
  display1.print("1111");

  // Display "2222" on the second display
  display2.print("2222");

  delay(2000);  // Delay for 2 seconds before repeating
}

4-Digit Display
4-Digit Display
4-Digit Display
4-Digit Display