TM1637 MODULE AUTOMATIC COUNTER






 

 VIDEO LINK:https://youtu.be/SJogL6qopYg


CODE:

//CREATIVE PRADEEP THE HOME OF ELECTRONICS//

#include<Arduino.h>

#include<TM1637Display.h>


#define CLK 2

#define DIO 3


TM1637Display display (CLK,DIO);



int count=0;


void setup()

{

 Serial.begin(9600);

 display.setBrightness(0x0f);

}


void loop()

{

  


  count++;

  display.showNumberDec(count);

  delay(100);


  if (count==9999)

  {

    count=0;

    display.clear();

    delay(1000);

    display.showNumberDec(0,true);

    delay(500);

  }

}

CIRCUIT DIAGRAM:


CHANNEL LINK:                    https://youtube.com/c/CreativePradeep

Comments

Popular posts from this blog

SMART WIFI CONTROLLED DOOR LOCK SYSTEM USING ESP32

ARDUINO PULSEOXIMETER