-
-
Notifications
You must be signed in to change notification settings - Fork 127
Examples
You can find these examples in the Arduino IDE examples menu under "Rtc by Makuna".
This demonstrates how to use the AlarmManager to setup alarm for specific date and time and set how they repeat. Support for single fire, hourly, daily, weekly, monthly, yearly, and custom repeating periods with a minimum of 60 seconds.
Does not require a RTC module but does require some trusted accurate source to initialize it and for long term time keeping. As it uses the CPU timing keep a software "RTC" running, the timing is usually not very accurate over periods of more than a few hours so Sync'ing regularly from a trusted source is recommended.
This demonstrates how to set and get the date and time from the device.
This demonstrates how to write and read data from the extended memory of the device. This memory is retained even after the device has lost power.
This demonstrates how to set and get the date and time from the device.
This demonstrates how to write and read data from the extended memory of the device. This memory is retained even after the device has lost power.
This demonstrates how to set and get the date and time from the device.
This demonstrates how to turn off the Rtc clock so that the onboard battery will last longer.
This demonstrates how to set the alarms and check when the alarms are triggered. This includes using the squarewave output to trigger an interrupt.
This demonstrates how to write and read data from the At24cXX eeprom that is often included on the DS3231 modules. This memory is retained even after the device has lost power.
This demonstrates how to set and get the date and time from the device.
This demonstrates how to set the alarms and check when the alarms are triggered. This includes using the squarewave output to trigger an interrupt.
This demonstrates how to write and read data from memory on the DS3234 modules. This memory is retained even after the device has lost power.