libtinylor
Single-file header library for controlling Light-O-Rama hardware
Loading...
Searching...
No Matches
lor_effect_data Union Reference

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.
 

Detailed Description

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.

Field Documentation

◆ deciseconds

lor_decisec lor_effect_data::deciseconds

The duration of the fade in deciseconds.

Half the full duration of the pulse in deciseconds.

◆ end_intensity

lor_intensity lor_effect_data::end_intensity

The ending intensity.

◆ [struct]

struct { ... } lor_effect_data::fade

Required effect arguments for LOR_FADE.

◆ intensity

lor_intensity lor_effect_data::intensity

The intensity to set the lights to.

◆ output

unsigned char lor_effect_data::output

The output value to set the DMX channel to (likely brightness).

◆ [struct]

struct { ... } lor_effect_data::pulse

Required effect arguments for LOR_PULSE.

◆ [struct]

struct { ... } lor_effect_data::set_dmx_intensity

Required effect arguments for LOR_SET_DMX_INTENSITY.

◆ [struct]

struct { ... } lor_effect_data::set_intensity

Required effect arguments for LOR_SET_LIGHTS.

◆ start_intensity

lor_intensity lor_effect_data::start_intensity

The starting intensity.


The documentation for this union was generated from the following file: