mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
525b441c1f
- airspeed ets - himidity sht - temperature temod close #1498
23 lines
759 B
XML
23 lines
759 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="humid_sht" dir="meteo">
|
|
<doc>
|
|
<description>
|
|
SHTxx humidity sensor.
|
|
This reads the values for humidity and temperature from the SHTxx sensor through bit banging.
|
|
</description>
|
|
<define name="SHT_DAT_GPIO" value="port,pin" description="data GPIO (e.g.: GPIOA,GPIO8)"/>
|
|
<define name="SHT_SCK_GPIO" value="port,pin" description="clock GPIO (e.g.: GPIOA,GPIO9)"/>
|
|
<define name="SHT_SDLOG" value="TRUE|FALSE" description="start logging to SD card"/>
|
|
</doc>
|
|
<header>
|
|
<file name="humid_sht.h"/>
|
|
</header>
|
|
<init fun="humid_sht_init()"/>
|
|
<periodic fun="humid_sht_periodic()" freq="4."/>
|
|
<makefile target="ap">
|
|
<file name="humid_sht.c"/>
|
|
</makefile>
|
|
</module>
|
|
|