|
| LEDOutput ()=default |
| Default Constructor.
|
|
| LEDOutput (FFTDisplay &fft) |
| Constructor for FFT scenario.
|
|
| LEDOutput (VolumeMeter &vol) |
| Constructor for VolumeMeter scenario.
|
|
void | addColumnBar (int currY) |
| Update the last column with the indicated bar.
|
|
bool | begin (LEDOutputConfig config) |
| Setup Led matrix.
|
|
LEDOutputConfig & | config () |
| Provides access to the actual config object. E.g. to change the update logic.
|
|
LEDOutputConfig | defaultConfig () |
| Provides the default config object.
|
|
void | display () |
| Update the led_matrix (calling FastLED.show();.
|
|
FFTDisplay & | fftDisplay () |
| Provides acces to the FFTDisplay object.
|
|
virtual float | getMaxMagnitude () |
| Provodes the max magnitude for both the.
|
|
CRGB & | led (uint8_t index) |
| Determine the led with the help of the index pos.
|
|
int | ledCount () |
| Provides the number of LEDs: call begin() first!
|
|
CRGB * | ledData () |
| Provides the address fo the CRGB array: call begin() first!
|
|
CRGB & | ledXY (uint8_t x, uint8_t y) |
| Determine the led with the help of the x and y pos.
|
|
void | setColumnBar (int currY) |
| Update the last column with the indicated bar.
|
|
void | setColumnBar (int x, int currY) |
| Update the indicated column with the indicated bar.
|
|
virtual void | update () |
| Updates the display: call this method in your loop.
|
|
LED output using the FastLED library.
- Author
- Phil Schatzmann