Add Universitaet Tuebingen thermocouple sensor.

This commit is contained in:
Martin Mueller
2011-07-22 18:04:28 +02:00
parent 813eee7a8e
commit e8249cda13
4 changed files with 140 additions and 1 deletions
+18 -1
View File
@@ -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"/>
+17
View File
@@ -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>