4 Digit LED Display Tube 7 Segments TM1637 50x19mm Blue Clock Display Colon RobotDyn for Arduino - products that work with official Arduino boards
Feature:
This is a basic 4-digit 7-segment display module.
The display features double points in midle.
The decimal point per digit not active.
Module connecting to digital I/O on 2 pins.
For Arduino use library: TM1637.h
Package includes:
1 x LED Display Tube
Package includes:
1 x LED Display Tube
Sketch:
#include "TM1637.h" // include the TM1637 library
TM1637 display(2, 3);// // initialize the library for pins 2, 3
void setup()
{
display.init(); // Start display
display.set(7); //Setup brightness 0 to 7
int8_t Disp[4]; //Dimension of digits
}
void loop()
{
Disp[0] = 1; //Write digits to dimension
Disp[1] = 2;
Disp[2] = 3;
Disp[3] = 4;
display.display(Disp); //Show dimension(digits) to display
}
4 Digit LED Display Tube 7 Segments TM1637 50x19mm Blue Clock Display Colon RobotDyn for Arduino - products that work with official Arduino boards See detail