altitude5 2.0.0.0
|
Altitude5 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Altitude5 Click example.
This library contains API for Altitude 5 Click driver. The demo application reads ADC value, calculate pressure and altitude.
The demo application is composed of two sections :
Initializes I2C or analog driver and log UART. After driver initialization the app set default settings.
This is an example that demonstrates the use of the Altitude 5 Click boardâ„¢. In this example, we read ADC values and display the Pressure ( mBar ) and Altitude ( m ) data. Results are being sent to the Usart Terminal where you can track their changes.
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 | ) |