Hi Everyone!
I have a serious question about making the code for my relay triggered Clock Project.
I am using an Arduino ADK with a DS3231 RTC module and I can't figure out how to trigger my output pins according to the current time.
The problem is that ( If I am correct ) the incoming data is pulsing because it is refreshing itself to follow time therefore I can't use that for turning HIGH or LOW a pin or a bunch of them because it will flicker whilst turned HIGH or even be corrupt (too short time to make an argument).
This is my theory but maybe it's true.
So if I could make a "time library" which is not "pulsing or flickering" that I could use to trigger pins to be HIGH or LOW according to the current Hour/Minute/Second would be it. Not speaking of the rest (year, month, day of week)..
With that data I could tell when to turn a relay off-on and just basically manipulate my output pins desired.
Please help
Examples:
"If it is 12:24:00 I want to turn pin 7, pin 9 HIGH and pin 5, pin, 2 LOW for an hour."
Thank You!
DS3231_Serial_Hard-Display.ino (18.8 KB)