Skip to content

Commit b33ad19

Browse files
authored
Merge pull request #1211 from andydoro/master
update to Daily Cheer Automaton to work with updated version of DST library
2 parents 07c545a + 88cb123 commit b33ad19

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Daily_Cheer_Automaton/autocheer/autocheer.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ DST_RTC dst_rtc; // DST object
111111
// you'll need to modify the code in the DST_RTC library to make this work properly.
112112
#define OBSERVE_DST 1
113113

114+
// Define US or EU rules for DST comment out as required. More countries could be added with different rules in DST_RTC.cpp
115+
const char rulesDST[] = "US"; // US DST rules
116+
// const char rulesDST[] = "EU"; // EU DST rules
117+
114118
// the hour and minute you'd like MP3 to start playing
115119
const int PLAYHOUR = 19; // 24 hour time
116120
const int PLAYMIN = 0;

0 commit comments

Comments
 (0)