Files
paparazzi/conf/modules/humid_htm_b71.xml
T
Gautier Hattenberger b6a300d03e [fix] allow float values for delay in module XML (#2652)
* [fix] allow float values for delay in module XML

see comments in #2553

* [conf] update delay parameters and add warning in generator
2021-02-08 21:50:41 +01:00

22 lines
782 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="0.66"/>
<periodic fun="humid_htm_read()" freq="4" delay="0.9"/>
<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>