hdc1000 2.0.0.0
main.c File Reference

HDC1000 Click example. More...

#include "board.h"
#include "log.h"
#include "hdc1000.h"

Functions

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

Detailed Description

HDC1000 Click example.

Description

Demo application code is used for measuring temperature and humidity.

The demo application is composed of two sections :

Application Init

AppInit is used for Logger and Click initialization.

Application Task

This is an example which demonstrates the usage of HDC1000 Click board. HDC1000 measure temperature and humidity, and calculate dewpoint value from the HDC1000 sensor.

Author
Mihajlo Djordevic

Function Documentation

◆ application_init()

void application_init ( void )

Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG

Note
If USB_UART_RX and USB_UART_TX are defined as HAL_PIN_NC, you will need to define them manually for log to work. See LOG_MAP_USB_UART macro definition for detailed explanation.

◆ application_task()

void application_task ( void )

◆ main()

int main ( void )