Paparazzi UAS  v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
light.c File Reference
#include "modules/light/light.h"
#include "led.h"
#include "generated/airframe.h"
+ Include dependency graph for light.c:

Go to the source code of this file.

Macros

#define LIGHT_LED_STROBE   2
 
#define STROBE_LIGHT_MODE_DEFAULT   6
 
#define NAV_LIGHT_MODE_DEFAULT   4
 

Functions

void init_light (void)
 
void periodic_light (void)
 

Variables

uint8_t strobe_light_mode
 
uint8_t nav_light_mode
 

Macro Definition Documentation

#define LIGHT_LED_STROBE   2

Definition at line 31 of file light.c.

Referenced by init_light(), and periodic_light().

#define NAV_LIGHT_MODE_DEFAULT   4

Definition at line 39 of file light.c.

Referenced by init_light().

#define STROBE_LIGHT_MODE_DEFAULT   6

Definition at line 35 of file light.c.

Referenced by init_light().

Function Documentation

void init_light ( void  )
void periodic_light ( void  )

Definition at line 56 of file light.c.

References counter, LED_OFF, LED_ON, LIGHT_LED_STROBE, nav_light_mode, and strobe_light_mode.

Variable Documentation

uint8_t nav_light_mode

Definition at line 28 of file light.c.

Referenced by init_light(), and periodic_light().

uint8_t strobe_light_mode

Definition at line 27 of file light.c.

Referenced by init_light(), and periodic_light().