temphum21 2.0.0.0
|
TempHum21 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
TempHum21 Click example.
This example demonstrates the use of Temp & Hum 21 click board by reading the temperature and humidity data.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration.
Reads the temperature (Celsius) and humidity (Percents) data and displays the results on the USB UART approximately once per second. It also checks if any alarm is detected on the humidity measurement.
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 | ) |