<!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>

