mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-27 17:06:31 +08:00
Add Universitaet Tuebingen thermocouple sensor.
This commit is contained in:
+18
-1
@@ -859,7 +859,24 @@
|
||||
<field name="speed_sp" type="float"/>
|
||||
</message>
|
||||
|
||||
<!--126 is free -->
|
||||
<message name="TEMP_TCOUPLE" id="126">
|
||||
<field name="fval0" type="float"/>
|
||||
<field name="fval1" type="float"/>
|
||||
<field name="fval2" type="float"/>
|
||||
<field name="fval3" type="float"/>
|
||||
<field name="fref0" type="float"/>
|
||||
<field name="fref1" type="float"/>
|
||||
<field name="fref2" type="float"/>
|
||||
<field name="fref3" type="float"/>
|
||||
<field name="val0" type="uint16"/>
|
||||
<field name="val1" type="uint16"/>
|
||||
<field name="val2" type="uint16"/>
|
||||
<field name="val3" type="uint16"/>
|
||||
<field name="ref0" type="uint16"/>
|
||||
<field name="ref1" type="uint16"/>
|
||||
<field name="ref2" type="uint16"/>
|
||||
<field name="ref3" type="uint16"/>
|
||||
</message>
|
||||
|
||||
<message name="SHT_I2C_STATUS" id="127">
|
||||
<field name="ihumid" type="uint16"/>
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
<!DOCTYPE module SYSTEM "module.dtd">
|
||||
|
||||
<module name="temp_tcouple_adc" dir="meteo">
|
||||
<header>
|
||||
<file name="temp_tcouple_adc.h"/>
|
||||
</header>
|
||||
<init fun="temp_tcouple_adc_init()"/>
|
||||
<periodic fun="temp_tcouple_adc_periodic()" freq="60"/>
|
||||
<makefile target="ap">
|
||||
<file name="temp_tcouple_adc.c"/>
|
||||
<define name="ADC_CHANNEL_TEMP_REF" value="ADC_4"/>
|
||||
<define name="USE_ADC_4"/>
|
||||
<define name="ADC_CHANNEL_TEMP_VAL" value="ADC_3"/>
|
||||
<define name="USE_ADC_3"/>
|
||||
</makefile>
|
||||
</module>
|
||||
|
||||
Reference in New Issue
Block a user