Paparazzi UAS  v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
light_temt module

Light Temt

No detailed description...

Example for airframe file

Add to your firmware section:

1 <module name="light_temt"/>

Module functions

Init Functions

These initialization functions are called once on startup.

Periodic Functions

These functions are called periodically at the specified frequency from the module periodic loop.

  • light_temt_periodic()
    • Frequency in Hz: 4
    • Autorun: LOCK
      Periodic function automatically starts after init and can't be stopped.


Header Files

The following headers are automatically included in modules.h

Source Files

Raw light_temt.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="light_temt" dir="meteo">
<file name="light_temt.h"/>
<init fun="light_temt_init()"/>
<periodic fun="light_temt_periodic()" freq="4"/>
<makefile target="ap">
<file name="light_temt.c"/>
<define name="ADC_CHANNEL_LIGHT_TEMT" value="ADC_4"/>
<define name="USE_ADC_4"/>