Hello,
Please advice, I need to make a device that triggers a light and a siren at set times. This time can be different for each day.
How to save those times?
I’m thinking about a database, but I don’t find it wise to read the database every 30 sec and check if that minute the current time corresponds to some set time.
The accuracy of alarms is a minute interval.
Please advice, I need to make a device that triggers a light and a siren at set times. This time can be different for each day.
How to save those times?
I’m thinking about a database, but I don’t find it wise to read the database every 30 sec and check if that minute the current time corresponds to some set time.
The accuracy of alarms is a minute interval.