pressure 2.0.0.0
|
Pressure Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Pressure Click example.
This is a example which demonstrates the use of Pressure Click board. Measured pressure and temperature data from the LPS331AP sensor on Pressure click.
The demo application is composed of two sections :
Initializes I2C/SPI serial interface and puts a device to the initial state. Also initializes UART console module for results logging.
Reads the pressure and temperature results in standard units when measurement was done and sends results to the console (usb uart terminal). Repeats operation every 500ms.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |