altitude 2.0.0.0
|
Altitude Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Altitude Click example.
This is a example which demonstrates the use of Altitude Click board. This demo example offers the altitude [m], pressure [mbar] and temperature [deg C] measurements from sensor.
The demo application is composed of two sections :
Initializes I2C driver and all used pins, performs a default configuration for Altitude Click board and initializes the uart console for results logging.
Shows two different uses of sensor, altimeter and barometer mode. Reads the altitude, pressure and temperature results in standard units and sends this results to the console.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |