I am using da3231sn RTC in my project.I want to set the system time,also want to set an alarm.When alarm will generate i want unix timestamp(total number of second in one number ) and want to store it in another variable.That will helpful for my further procedure in project.
So can anybody suggest me the lib. or procedure or anything to achieve my goal.
i have already try DS1307RTC.h library with Time.h library to set the system time in DS3231SN.I am success.Then i try to set an alarm in DS3231SN using Wire.h library but the alarm is not generating.
i have put alarm for one minute.
I am serching for some function which accept the RTC time(hour,min,sec,date,month,year) and return me one number which is having total num of second same as we see in unix timeticks.