#define CLK 26
#define DIO 25
#include <GyverTM1637.h>
#include <RTClib.h>

GyverTM1637 disp(CLK,DIO);
RTC_DS1307 rtc;

void setup() {
  rtc.begin();
  disp.clear();
  disp.brightness(7);
  disp.point(1);
}

void loop() {
  int h = 12;
  int m = 30;
  
  dotCrt();
  dispTime();
}

void dotCrt(void){
  disp.point(1);
  delay(100);
  disp.point(0);
  delay(100);
}

void dispTime(void){
  DateTime now = rtc.now();
  byte hrs = now.hour();
  byte mins = now.minute();

  disp.displayClock(hrs,mins);
}
4-Digit Display
FPS: 0
Power: 0.00W
GND5VSDASCLSQWRTCDS1307+