barometer3  2.0.0.0
Functions | Variables
main.c File Reference

Barometer3 Click example. More...

#include "board.h"
#include "log.h"
#include "barometer3.h"

Functions

void application_init (void)
 
void application_task (void)
 
void main (void)
 

Variables

float pressure
 
float temperature
 

Detailed Description

Barometer3 Click example.

Description

This example demonstrates the use of Barometer 3 click board.

The demo application is composed of two sections :

Application Init

Initializes the driver, sets the click board default configuration and check the communication by reading the device ID.

Application Task

Reads the temperature [ Celsius ] and pressure [ mBar ] and displays the results on the USB UART.

Author
MikroE Team

Function Documentation

◆ application_init()

void application_init ( void  )

◆ application_task()

void application_task ( void  )

◆ main()

void main ( void  )

Variable Documentation

◆ pressure

float pressure

◆ temperature

float temperature