LED safety indicator.
LED module that blinks in different patterns in different safety situations.
Example for airframe file
Add to your firmware section:
<module name="led_safety_status"/>
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.
Files
Header Files
The following headers are automatically included in modules.h
Source Files
Raw led_safety_status.xml file:
<!DOCTYPE module SYSTEM "module.dtd">
<module name="led_safety_status" dir="light">
<doc>
<description>
LED safety indicator.
LED module that blinks in different patterns in different safety situations.
</description>
</doc>
<header>
<file name="led_safety_status.h"/>
</header>
<init fun="led_safety_status_init()"/>
<periodic fun="led_safety_status_periodic()" freq="100"/>
<makefile>
<file name="led_safety_status.c"/>
</makefile>
</module>