5Pcs 0.56 Inch Green LED Display Tube 4-Digit 7-segments Module for Arduino - products that work with official Arduino boards
Product Features:
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 use library: TM1637.h
Color: Green
Contact Sales
Your Name* | |
Your Email* | |
Topic* | |
Qty | |
Message | |
SUBMIT |
- Description
Package includes:
5 x Green LED Display Tube Module
Example1
/*
Clock example example (Extended class example)
Display a clock on the display. For this demo you can add a speed multiplier to make the clock run faster. For a real clock you want to use a delay of 1 min or even use a Real Time Clock module (RTC)
The circuit:
* connect TM1637 pin CLK to pin D4
* connect TM1637 pin DIO to pin D5
* connect TM1637 pin Vcc to pin 5V
* connect TM1637 pin GND to pin GND
*/
// include the SevenSegmentTM1637 library
#include "SevenSegmentTM1637.h"
#include "SevenSegmentExtended.h"
/*
initialize global TM1637 Display object
* The constructor takes two arguments, the number of the clock pin and the digital output pin:
* SevenSegmentTM1637(byte pinCLK, byte pinDIO);
*/
const byte PIN_CLK = 4; // define CLK pin (any digital pin) const byte PIN_DIO = 5; // define DIO pin (any digital pin)
SevenSegmentExtended display(PIN_CLK, PIN_DIO);
const unsigned int clockSpeed = 10000; // speed up clock for demo
// run setup code
void setup() {
Serial.begin(9600); // initializes the Serial connection @ 9600 baud
display.begin(); // initializes the display
display.setBacklight(100); // set the brightness to 100 %
delay(1000); // wait 1000 ms
};
// run loop (forever)
void loop() {
byte hours = 14; // initialize hours
byte minutes = 39; // initialize minutes
for ( ; hours < 24; hours++) { // count hours up to 24
for ( ; minutes < 60; minutes++) { // count minutes up to 59
display.printTime(hours, minutes, true); // display time
delay(60000 / clockSpeed); // clock delay ms
};
minutes = 0; // reset minutes
};
};
Example2
#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
}
,,
- Reviews (29)
- All(29)
- Q & A
-
: Where is the origin of Elecbee products? Are they certificated?2023-03-03
-
Answer:
Elecbee has long-term cooperation agreements with the OEM factories in China. So that we are able to reduce the intermediate channel cost, and help you save money. Our products are all made strictly according to the relative global standard, to ensure the products have good compatibility and excellent quality.
2023-03-03
-
: What forms of payment do you accept?2023-03-03
-
Answer:
Our main payment methods include Paypal, Credit Cards, Debit Cards, Bank Transfer, and more to discover. Please choose the payment methods in your favor.
2023-03-03
-
: When will you arrange shipment?2023-03-03
-
Answer:
After confirming receipt of your payment. We will arrange the delivery as soon as possible and upload the courier number to the website for you to track.
2023-03-03
-
: How to exchange or return?2023-03-03
-
Answer:
1. You can apply to return within 30 days after receipt of the goods. Please make sure the outside package is intact, and the product is in its original condition. We will arrange your refund according to the relevant provisions once the package is received.
2. Return process: You Apply for a Return - Approve the Return - Arrange a Return - Receive the Products and make Inspection - We arrange a Refund;
3. We will bear the freight charges for returns caused by us, for instance, the quality problem. As to returns caused by the buyer, the buyer should be responsible for the shipping fee.
2023-03-03
Related Products
1.3 Inch OLED Display Module IIC I2C OLED Shield for Arduino - products that work with official Arduino boards
File download: Click here to open 1 x 1.3 Inch OLED Display Module ..
10pcs DM11A88 8x8 Square Matrix Red LED Dot Display Module for UNO MEGA2560 DUE
Features: - Square matrix display module 8x8 dot- Red pixels- Pixel size: 3.0mm- 74hc595 driver- ..
1.8 Inch 128x160 TFT LCD Shield Display Module SPI Serial Interface For Esplora Game
1 x 128x160 TFT LCD Shield Module..
GT911 7-inch Capacitive Touch Screen LCD Display TFT LCD Module RGB Interface
Package includes: 1 x 7-inch Capacitive Touch Screen ..