Homepage Demos Overview Downloads Tutorials Reference
Credits

LedEngine::LEDInfo Struct Reference

#include <LedEngine.h>

List of all members.


Detailed Description

Holds all the information needed by each of the LEDs.

Definition at line 158 of file LedEngine.h.

Public Attributes

float value
 the current value being expressed
float amp
 the amplitude of the cycle (if cycling)
unsigned int period
 the period of the cycle (if cycling)
unsigned int starttime
 the start time of the cycle (if cycling)
float offset
 the phase shift from normal of the cycle (if cycling)
float flashvalue
 the value being 'flashed' (only valid if current time is less than flashtime
unsigned int flashtime
 the time the 'flash' should retire
bool isCycling
 true if in cycle mode


Member Data Documentation

float LedEngine::LEDInfo::amp
 

the amplitude of the cycle (if cycling)

Definition at line 160 of file LedEngine.h.

Referenced by LedEngine::cycle(), and LedEngine::invert().

unsigned int LedEngine::LEDInfo::flashtime
 

the time the 'flash' should retire

Definition at line 165 of file LedEngine.h.

Referenced by LedEngine::calcValue(), LedEngine::cflash(), LedEngine::flash(), LedEngine::LedEngine(), and LedEngine::recalcFlashEnd().

float LedEngine::LEDInfo::flashvalue
 

the value being 'flashed' (only valid if current time is less than flashtime

Definition at line 164 of file LedEngine.h.

Referenced by LedEngine::calcValue(), LedEngine::cflash(), and LedEngine::flash().

bool LedEngine::LEDInfo::isCycling
 

true if in cycle mode

Definition at line 166 of file LedEngine.h.

Referenced by LedEngine::calcValue(), LedEngine::clear(), LedEngine::cycle(), LedEngine::invert(), and LedEngine::set().

float LedEngine::LEDInfo::offset
 

the phase shift from normal of the cycle (if cycling)

Definition at line 163 of file LedEngine.h.

Referenced by LedEngine::cycle().

unsigned int LedEngine::LEDInfo::period
 

the period of the cycle (if cycling)

Definition at line 161 of file LedEngine.h.

Referenced by LedEngine::cycle().

unsigned int LedEngine::LEDInfo::starttime
 

the start time of the cycle (if cycling)

Definition at line 162 of file LedEngine.h.

Referenced by LedEngine::cycle(), and LedEngine::LedEngine().

float LedEngine::LEDInfo::value
 

the current value being expressed

Definition at line 159 of file LedEngine.h.

Referenced by LedEngine::calcValue(), LedEngine::clear(), LedEngine::displayNumber(), LedEngine::getSetting(), LedEngine::invert(), LedEngine::set(), and LedEngine::setOneOfTwo().


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

Tekkotsu v2.2.2
Generated Tue Jan 4 15:45:27 2005 by Doxygen 1.4.0