templog4  2.0.0.0
Functions
main.c File Reference

TempLog4 Click example. More...

#include "board.h"
#include "log.h"
#include "templog4.h"

Functions

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

Detailed Description

TempLog4 Click example.

Description

This application measures the temperature

The demo application is composed of two sections :

Application Init

Initializes I2C interface and performs a device configuration for properly working. Also sets the temperature limit to the desired values.

Application Task

First ensures that the minimum conversion time is met, and then reads the ambient temperature calculated to the Celsius degrees. Also checks the limit status and shows a message when some limit condition is met.

Author
MikroE Team

Function Documentation

◆ application_init()

void application_init ( )

◆ application_task()

void application_task ( )

◆ main()

void main ( )