#include <Wire.h> #include "RTClib.h" #include <SPI.h> #include <DMD.h> #include <TimerOne.h> #include "Arial_black_16.h" #include "Font_6x14.h" //-> This font only contains numbers from 0-9. Used only to display time. #define DISPLAYS_ACROSS 1 //-> Number of P10 panels used, side to side. #define DISPLAYS_DOWN 1 DMD dmd(DISPLAYS_ACROSS, DISPLAYS_DOWN); RTC_DS1307 rtc; //-> RTC Declaration int _day, _month, _year, _hour24, _hour12, _minute, _second, _dtw; int hr24; String st; char nameoftheday[7][12] = {"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"}; char month_name[12][12] = {"January","February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December...
Comments
Post a Comment