rtc20 2.1.0.0
|
RTC 20 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
RTC 20 Click example.
This example demonstrates the use of the RTC 20 click boardâ„¢ by reading and displaying the RTC time and date values.
The demo application is composed of two sections :
Initialization of I2C module, log UART and additional pins. After driver initialization the app set RTC time to 23:59:50 and set date to Tuesday 28.02.2023.
This is an example that shows the use of a RTC 20 Click boardâ„¢. In this example, we read and display the current time ( PM ) and date ( day of the week ), which we also previously set. Results are being sent to the Usart Terminal where you can track their changes. All data logs write on USB changes every 1 sec.
void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |