DESCRIPTION
The module is a 12-pin display module with a 4-point common digital tube (0.36 inch) with
a clock point. The driver chip is TM1637. It only needs 2 signal lines to enable the MCU
to control the 4-bit 8-segment digital tube.
FEATURES
- Display common anode for the four red LED
- Powered supply by 3.3V/5V
- Four common anode tube display module is driven by IC TM1637
- Can be used for Arduino devices, two signal lines can make the MCU control 4 8 digital tube. Digital tube 8 segment is adjustable
CONNECTION
REFERENCE CODING
#include <TM1637Display.h>
const int CLK = 3; //Set the CLK pin connection to the display
const int DIO = 2; //Set the DIO pin connection to the display
Â
int numCounter = 0;
Â
TM1637Display display(CLK, DIO); //set up the 4-Digit Display.
Â
void setup()
{
display.setBrightness(0x0a); //set the diplay to maximum brightness
}
 Â
void loop()
{
for(numCounter = 0; numCounter < 1000; numCounter++) //Iterate numCounter
{
display.showNumberDec(numCounter); //Display the numCounter value;
delay(1000);
}
}
Reviews
There are no reviews yet.