![]() ![]() ![]() Inside file segment_display.cpp, at the end, switch (i) you can modify your led sequence. ![]() I've made some changes to library for compatibility with led sequence. The one that i like is named newrandom() that is the presetted ( int mode = 1 ). There are 6 different that can be choosen pressing the momentary button, the 7th option is w/o transitions. Transitions feature allow to have an animated color transition when minute change. This is the best color balancing found till now for a good contrast with the white wall behind. In my settings from h 0:00 to 12:00 the time is showed in red, from 12:00 to 17:00 green and from 17:00 to 0:00 mostly blue. Void printDateTime(time_t t, const char *tz) ![]() In my case at 7:00 in the morning.Īnother feature is to change clock color during the day inside function: Setting ALARM on DS3231 module through variable int gotosleep, allow Arduino to wake up from sleep mode. In my case at 0:00 Arduino goes in sleep mode, then the clock turn off. Saving daylight time library is handled by parameters TimeChangeRule, see JChristensen library on Github for more information.Īutomatic shutdown inside the loop is handled by variable int gotosleep. There are many customization that can be done inside the sketch. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |