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
ACAM Picocap capacitance sensor

Module XML file: humid_pcap01.xml

ACAM Picocap Single-chip Solution for Capacitance Measurement This reads the values for temperature and humidity from the ACAM capacitance and resistance measurement unit through I2C.

Module functions

Init Functions

These initialization functions are called once on startup.

Event Functions

These event functions are called in each cycle of the module event loop.

Periodic Functions

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

  • pcap01_periodic()
    • Frequency in Hz: 3
    • 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_pcap01.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="humdid_pcap01" dir="meteo">
<doc>
<description>
ACAM Picocap capacitance sensor.
ACAM Picocap Single-chip Solution for Capacitance Measurement
This reads the values for temperature and humidity from the ACAM capacitance and resistance measurement unit through I2C.
</description>
</doc>
<header>
<file name="humid_pcap01.h"/>
</header>
<init fun="pcap01_init()"/>
<periodic fun="pcap01_periodic()" freq="3"/>
<event fun="pcap01_event()"/>
<makefile target="ap">
<file name="humid_pcap01.c"/>
</makefile>
</module>