diffpress2 2.0.0.0
|
DiffPress2 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
DiffPress2 Click example.
This example application showcases ability for device to read and calculate mass flow or diff press pressure in Pascals and temperature in degrees Celsius.
The demo application is composed of two sections :
Initialization of module communication(I2C, UART) and additional interrupt pin. Resets device and reads serial and product ID's and logs them.
Read and calculate differential in Pascal and temperature in degrees Celsius every 300ms.
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 | ) |