pht 2.0.0.0
|
PHT Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Variables | |
float | pressure |
float | humidity |
float | temperature |
PHT Click example.
This is an example that demonstrates the use of the PHT Click board.
The demo application is composed of two sections :
Initialization driver enables - I2C, performs the device reset and determines the oversampling ratio, also write log.
PHT Click board can be used to measure Pressure, Temperature and Relative Humidity. All data logs write on USB uart changes every 3 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 | ) |
float humidity |
float pressure |
float temperature |