rtc 2.0.0.0
|
RTC Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
RTC Click example.
This application enables setup and measurement of time with RTC click.
The demo application is composed of two sections :
Initialization driver enable's - I2C, set start time, enable counting and start write log.
This is an example which demonstrates the use of RTC Click board. RTC Click communicates with register via I2C by write to register and read from register. This example show time when the value of time_seconds is changed. Results are being sent to the Usart Terminal where you can track their changes. All data logs write on usb uart changes for every 1 sec.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |