A library for Clock made of TM1637, DS1302
Follows the MIT license ( Please check LICENSE file for more information. )
- in case of Library file in Arduino/Library folder
#include <ClockForSeg.h>- In case of Library file in Source code file
#include <"ClockForSeg_Lib/ClockForSeg.h"> ClockForSeg clocks(RTC_CLK, RTC_DAT, RTC_RST, SEG_DIO, SEG_CLK);
// clock is object name- init (void);
clocks.init();
//initialize DS1302, TM1637- displayTime (int _mode);
clocks.displayTime(BLINK);
//Keep Blinking ":"
//Delays : turn on 500ms, turn off 500ms
clocks.displayTime(NON_BLINK);
//keep ":" on
//Delays : turn on 1000ms- Supports the models below.
DS1302(datasheet in /doc/HCSR04.pdf)TM1637(datasheet in /doc/HCSR04.pdf)
- The boards below are supported.
- Test Finished.
Arduino UNOArduino MEGAArduino NANO
- Support Forecast
All boards using Arduino IDE
- Test Finished.
The contents of the example are see Exemples folder.
- 1.0.1
- Change depends library
- 1.0.0
- First official version
- Develop Finished
- Register with Library Manager.
- 0.0.1 (demo)
- Start of Develop.
- Jihoon Kim (jihoonkimtech, jihoonkimtech@naver.com)
