I'm fairly new to Arduino and have adopted a project to create a four outlet timer using an Uno R3, DS3231 RTC module, I2C LCD 16x2 and a 4 relay module. Each of the outlets will be individually programmable.
All was going well until I tried to decipher how to use the DS3231 to set the time for TimeAlarms. Probably something simple, but Googling the various RTC libraries and descriptions has brought me to this forum for assistance :confused:
So here's an attempt to use clarifying questions to express where I'm trying to go with a sketch:
- What RTC library is best (or recommended)? A library that has documentation to clearly call out the functions and provide usage examples would be great.
- What code is required to initialize the RTC and then pass the time to TimeAlarms?
- What code is required to display the time on an I2C LCD?