Skip to content

Commit 88cb123

Browse files
committed
updated for new version of DST library
updated for new version of DST library
1 parent 842b273 commit 88cb123

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)