Paparazzi UAS  v4.0.4_stable-3-gf39211a
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
light.c File Reference
#include "light.h"
#include "led.h"
+ Include dependency graph for light.c:

Go to the source code of this file.

Macros

#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 NAV_LIGHT_MODE_DEFAULT   4

Definition at line 36 of file light.c.

Referenced by init_light().

#define STROBE_LIGHT_MODE_DEFAULT   6

Definition at line 32 of file light.c.

Referenced by init_light().

Function Documentation

void init_light ( void  )
void periodic_light ( void  )

Definition at line 52 of file light.c.

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

Variable Documentation

uint8_t nav_light_mode

Definition at line 29 of file light.c.

Referenced by init_light(), and periodic_light().

uint8_t strobe_light_mode

Definition at line 28 of file light.c.

Referenced by init_light(), and periodic_light().