mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-06 16:58:48 +08:00
bcaba7c720
modules developpers can provide - a description of the module - a list of the configuration variables and flags (configure and define) - a list of sections to add to the airframe file
24 lines
707 B
XML
24 lines
707 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<!--
|
|
TronSens HTM-B71 humidity sensor (I2C)
|
|
@param HTM_I2C_DEV i2c device (default i2c0)
|
|
-->
|
|
|
|
<module name="humid_htm_b71" dir="meteo">
|
|
<doc>
|
|
<description>TronSens HTM-B71 humidity sensor (I2C)</description>
|
|
<define name="HTM_I2C_DEV" value="i2cX" description="select i2c peripheral to use (default i2c0)"/>
|
|
</doc>
|
|
<header>
|
|
<file name="humid_htm_b71.h"/>
|
|
</header>
|
|
<init fun="humid_htm_init()"/>
|
|
<periodic fun="humid_htm_start()" freq="4" delay="10"/>
|
|
<periodic fun="humid_htm_read()" freq="4" delay="14"/>
|
|
<event fun="humid_htm_event()"/>
|
|
<makefile target="ap">
|
|
<file name="humid_htm_b71.c"/>
|
|
</makefile>
|
|
</module>
|