Main centres: | 1-3 business days |
Regional areas: | 3-4 business days |
Remote areas: | 3-5 business days |
/*
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);
*/