Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
humid_sht.h File Reference
#include "std.h"
+ Include dependency graph for humid_sht.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void humid_sht_init (void)
 
void humid_sht_periodic (void)
 

Variables

uint16_t humidsht
 
uint16_t tempsht
 
float fhumidsht
 
float ftempsht
 
bool humid_sht_available
 
uint8_t humid_sht_status
 

Detailed Description

SHTxx sensor interface.

This reads the values for humidity and temperature from the SHTxx sensor through bit banging.

Definition in file humid_sht.h.

Function Documentation

◆ humid_sht_init()

void humid_sht_init ( void  )

Definition at line 299 of file humid_sht.c.

References gpio_clear(), gpio_setup_input(), gpio_setup_output(), humid_sht_available, humid_sht_status, and SHT_IDLE.

+ Here is the call graph for this function:

◆ humid_sht_periodic()

Variable Documentation

◆ fhumidsht

float fhumidsht

Definition at line 87 of file humid_sht.c.

◆ ftempsht

float ftempsht

Definition at line 36 of file humid_sht.h.

◆ humid_sht_available

bool humid_sht_available

Definition at line 88 of file humid_sht.c.

◆ humid_sht_status

uint8_t humid_sht_status

Definition at line 89 of file humid_sht.c.

◆ humidsht

uint16_t humidsht

Definition at line 86 of file humid_sht.c.

◆ tempsht

uint16_t tempsht

Definition at line 35 of file humid_sht.h.