pressure15 2.0.0.0
|
Pressure15 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Pressure15 Click example.
This application example showcases the ability of the device to read temperature and pressure data.
The demo application is composed of two sections :
Initialization of hosts communication modules (UART, SPI/I2C) and interrupt pin. Checks device ID and sets the default configuration that enables interrupt on new data.
Checks if an interrupt occurred. If occurred reads new pressure and temperature data in hPa and degC respectively.
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 | ) |