Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

LedEngine::LEDInfo Struct Reference

Holds all the information needed by each of the LEDs. More...

#include <LedEngine.h>


Detailed Description

Holds all the information needed by each of the LEDs.

Definition at line 211 of file LedEngine.h.

List of all members.

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

the amplitude of the cycle (if cycling)

Definition at line 213 of file LedEngine.h.

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

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

Definition at line 217 of file LedEngine.h.

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

true if in cycle mode

Definition at line 219 of file LedEngine.h.

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

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

Definition at line 216 of file LedEngine.h.

Referenced by LedEngine::cycle().

the period of the cycle (if cycling)

Definition at line 214 of file LedEngine.h.

Referenced by LedEngine::cycle().

the start time of the cycle (if cycling)

Definition at line 215 of file LedEngine.h.

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


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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:12 2016 by Doxygen 1.6.3