|
rtc24 2.2.0
|
RTC 24 Click example. More...
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
RTC 24 Click example.
This example demonstrates the use of the RTC 24 Click board by initializing the device and setting up the current time and date. It continuously reads and displays the updated time and date every second using the square wave pin.
The demo application is composed of two sections:
Initializes the logger and the RTC 24 Click driver, applies the default configuration, and sets the starting time and date.
Waits for a 1 Hz square wave signal and then reads and displays the current time and date.
| void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 124200 Default log level: LOG_LEVEL_DEBUG
| void application_task | ( | void | ) |
| int main | ( | void | ) |