libtinylor
Single-file header library for controlling Light-O-Rama hardware
|
Union of effect argument structures that may be required by assorted effect types: LOR_SET_LIGHTS
, LOR_FADE
, LOR_PULSE
, and LOR_SET_DMX_INTENSITY
.
More...
#include <tinylor.h>
Data Fields | ||
struct { | ||
lor_intensity intensity | ||
The intensity to set the lights to. More... | ||
} | set_intensity | |
Required effect arguments for LOR_SET_LIGHTS. | ||
struct { | ||
lor_intensity start_intensity | ||
The starting intensity. More... | ||
lor_intensity end_intensity | ||
The ending intensity. More... | ||
lor_decisec deciseconds | ||
The duration of the fade in deciseconds. More... | ||
} | fade | |
Required effect arguments for LOR_FADE. | ||
struct { | ||
lor_decisec deciseconds | ||
Half the full duration of the pulse in deciseconds. More... | ||
} | pulse | |
Required effect arguments for LOR_PULSE. | ||
struct { | ||
unsigned char output | ||
The output value to set the DMX channel to (likely brightness). More... | ||
} | set_dmx_intensity | |
Required effect arguments for LOR_SET_DMX_INTENSITY. | ||
Union of effect argument structures that may be required by assorted effect types: LOR_SET_LIGHTS
, LOR_FADE
, LOR_PULSE
, and LOR_SET_DMX_INTENSITY
.
lor_decisec lor_effect_data::deciseconds |
The duration of the fade in deciseconds.
Half the full duration of the pulse in deciseconds.
lor_intensity lor_effect_data::end_intensity |
The ending intensity.
struct { ... } lor_effect_data::fade |
Required effect arguments for LOR_FADE.
lor_intensity lor_effect_data::intensity |
The intensity to set the lights to.
unsigned char lor_effect_data::output |
The output value to set the DMX channel to (likely brightness).
struct { ... } lor_effect_data::pulse |
Required effect arguments for LOR_PULSE.
struct { ... } lor_effect_data::set_dmx_intensity |
Required effect arguments for LOR_SET_DMX_INTENSITY.
struct { ... } lor_effect_data::set_intensity |
Required effect arguments for LOR_SET_LIGHTS.
lor_intensity lor_effect_data::start_intensity |
The starting intensity.