Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
HIH-4030 humidity sensor

Module XML file: humid_hih.xml

This reads the values for humidity from the Honeywell HIH-4030 sensor via ADC.

Module functions

Init Functions

These initialization functions are called once on startup.

Periodic Functions

These functions are called periodically at the specified frequency from the module periodic loop.

  • humid_hih_periodic()
    • Frequency in Hz: 4
    • Autorun: LOCK
      Periodic function automatically starts after init and can't be stopped.

Files

Header Files

The following headers are automatically included in modules.h

Source Files

Raw humid_hih.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="humid_hih" dir="meteo">
<doc>
<description>
HIH-4030 humidity sensor.
This reads the values for humidity from the Honeywell HIH-4030 sensor via ADC.
</description>
</doc>
<header>
<file name="humid_hih.h"/>
</header>
<init fun="humid_hih_init()"/>
<periodic fun="humid_hih_periodic()" freq="4"/>
<makefile target="ap">
<file name="humid_hih.c"/>
<define name="ADC_CHANNEL_HUMID_HIH" value="ADC_3"/>
<define name="USE_ADC_3"/>
</makefile>
</module>