Temp Tmp102
No detailed description...
Example for airframe file
Add to your firmware section:
1 <module name="temp_tmp102"/>
Module functions
Init Functions
These initialization functions are called once on startup.
Event Functions
These event functions are called in each cycle of the module event loop.
Periodic Functions
These functions are called periodically at the specified frequency from the module periodic loop.
- tmp102_periodic()
- Frequency in Hz: 8
- Autorun: LOCK
Periodic function automatically starts after init and can't be stopped.
Files
Header Files
The following headers are automatically included in modules.h
Source Files
Raw temp_tmp102.xml file:
<!DOCTYPE module SYSTEM "module.dtd">
<module name="temp_tmp102" dir="meteo">
<doc>
<description></description>
</doc>
<header>
<file name="temp_tmp102.h"/>
</header>
<init fun="tmp102_init()"/>
<periodic fun="tmp102_periodic()" freq="8"/>
<event fun="tmp102_event()"/>
<makefile target="ap">
<file name="temp_tmp102.c"/>
</makefile>
</module>