pressure20 2.0.0.0
|
Pressure20 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Pressure20 Click example.
This example demonstrates the use of Pressure 20 click board by reading and displaying the pressure and temperature data on the USB UART.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration.
Waits for the data ready interrupt, clears the interrupts and than reads the pressure [mBar] and temperature [Celsius] data and displays them on the USB UART at the set output data rate (25Hz by default).
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 | ) |