thermo22 2.0.0.0
|
Thermo22 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Thermo22 Click example.
This example demonstrates the use of Thermo 22 click board by reading and displaying the temperature measurements.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration which enables continuous conversation and sets the overtemperature limits to 35.0 Celsius.
Reads the temperature measurement in Celsius and displays the results on the USB UART every 200ms approximately. It also checks the overtemperature alert indicator and displays an appropriate message if the indicator is active.
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 | ) |