mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
c8f657b39e
Sparkfun FIO v3 board adds simultaneous XBee serial modem and SHT75 humidity payload sensor.
26 lines
848 B
XML
26 lines
848 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="humid_sht_uart" dir="meteo">
|
|
<doc>
|
|
<description>
|
|
SHTxx humidity sensor.
|
|
This reads the values for humidity and temperature from the SHTxx sensor through an uart.
|
|
</description>
|
|
<configure name="SHT_UART" value="UARTX" description="UART on which computer is connected"/>
|
|
</doc>
|
|
<header>
|
|
<file name="humid_sht_uart.h"/>
|
|
</header>
|
|
<init fun="humid_sht_uart_init()"/>
|
|
<periodic fun="humid_sht_uart_periodic()" freq="1."/>
|
|
<event fun="humid_sht_uart_event()"/>
|
|
<makefile target="ap">
|
|
<configure name="SHT_UART" case="upper|lower"/>
|
|
<file name="humid_sht_uart.c"/>
|
|
<define name="USE_$(SHT_UART_UPPER)"/>
|
|
<define name="MET_LINK" value="$(SHT_UART_LOWER)"/>
|
|
<define name="$(SHT_UART_UPPER)_BAUD" value="B115200"/>
|
|
</makefile>
|
|
</module>
|
|
|