Skip to content

shatter71/HexClock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HexClock

Fork of HexClock codebase

Code based on the project posted at: https://www.instructables.com/id/RGB-HexMatrix-IOT-Clock/

Updated code to add modes to turn the LEDs off at night (tested) and to turn off LEDs off on the weekend (untested).

Settings to configure:

#define NIGHT_MODE 1 //Set night mode where 0 is off and 1 is on (Night mode turns the clock off at night)

#define WEEKEND_MODE 0 //Set weekend mode where 0 is off and 1 is on (Weekend mode turns the clock off on the weekends)

#define NIGHT_OFF_TIME 22 //Time (hour) that clock turns off when night mode is active

#define NIGHT_ON_TIME 7 //Time (hour) that clock turns on when night mode is active

#define DST 1 //DST adjustment toggle (set 0 if you don't want auto adjust, 1 if you do)

Updated code to show minutes 1 through 9 as two-digits instead of one digit (e.g., 2 is shown as 02)

Updated code to automatically adjust for daylight savings time.

About

Fork of HexClock codebase

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages