int pins[] = {15, 2, 4, 16, 17, 22, 23};
// int switchPin = 35; // Assuming the switch is connected to pin 14
// int lastSwitchState = LOW;
// int currentSwitchState = LOW;

// int arr[11][7]={
//   {1,0,0,1,1,1,1},
//   {0,0,1,0,0,1,0},
//   {1,1,1,1,1,1,1},
//   {0,0,1,0,0,1,0},
//   {1,1,1,1,1,1,1},
//   {0,0,1,0,0,1,0},
//   {0,0,0,0,1,1,0},
//   {0,0,0,0,0,0,1},
//   {1,1,1,1,1,1,1},
//   {0,0,0,0,0,0,1},
//   {1,0,0,1,1,1,1},
// };

// void setup() {
//   Serial.begin(115200);
//   for(int x=0;x<=6;x++){
//     pinMode(x, OUTPUT);
//   }
//   pinMode(switchPin, INPUT);
// }

// void displayPattern(int patternIndex) {
//   for(int x=0;x<=6;x++){
//     digitalWrite(x, arr[patternIndex][x]);
//   }
// }

// void loop() {
//   currentSwitchState = digitalRead(switchPin);
//   if (currentSwitchState == HIGH && lastSwitchState == LOW) {
//     // Switch is pressed
//     for(int i=0; i<11; i++){
//       displayPattern(i);
//       delay(2000);
//     }
//   }
//   lastSwitchState = currentSwitchState;
// }

int arr[11][7]={
  {1,0,0,1,1,1,1},
  {0,0,1,0,0,1,0},
  {1,1,1,1,1,1,1},
  {0,0,1,0,0,1,0},
  {1,1,1,1,1,1,1},
  {0,0,1,0,0,1,0},
  {0,0,0,0,1,1,0},
  {0,0,0,0,0,0,1},
  {1,1,1,1,1,1,1},
  {0,0,0,0,0,0,1},
  {1,0,0,1,1,1,1},
  };
void setup() {
  // put your setup code here, to run once:
for(int x=0;x<=6;x++){
  pinMode(x, OUTPUT);
}
}

void loop() {
  // put your main code here, to run repeatedly:
for(int y=0;y<=10;y++){
  for(int x=0;x<=6;x++){
    digitalWrite(x,arr[y][x]);
  }
  delay(2000);
}
}
esp:0
esp:2
esp:4
esp:5
esp:12
esp:13
esp:14
esp:15
esp:16
esp:17
esp:18
esp:19
esp:21
esp:22
esp:23
esp:25
esp:26
esp:27
esp:32
esp:33
esp:34
esp:35
esp:3V3
esp:EN
esp:VP
esp:VN
esp:GND.1
esp:D2
esp:D3
esp:CMD
esp:5V
esp:GND.2
esp:TX
esp:RX
esp:GND.3
esp:D1
esp:D0
esp:CLK
sevseg1:COM.1
sevseg1:COM.2
sevseg1:A
sevseg1:B
sevseg1:C
sevseg1:D
sevseg1:E
sevseg1:F
sevseg1:G
sevseg1:DP
btn1:1.l
btn1:2.l
btn1:1.r
btn1:2.r