mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
22 lines
779 B
XML
22 lines
779 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="humid_htm_b71" dir="meteo">
|
|
<doc>
|
|
<description>TronSens HTM-B71 humidity sensor (I2C)</description>
|
|
<configure 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">
|
|
<configure name="HTM_I2C_DEV" default="i2c0" case="upper|lower"/>
|
|
<define name="USE_$(HTM_I2C_DEV_UPPER)"/>
|
|
<define name="HTM_I2C_DEV" value="$(HTM_I2C_DEV_LOWER)"/>
|
|
<file name="humid_htm_b71.c"/>
|
|
</makefile>
|
|
</module>
|