|
FastLED 3.10.6
|
Plays a mapped 32x32 raw RGB video asset for FASTLED4 preview and hardware output.
Definition in file FxLedmapper32x32.ino.
#include "FastLED.h"#include "Arduino.h"#include "fl/fx/video.h"#include "fl/math/screenmap.h"#include "fl/system/file_system.h"#include "fl/ui/ui.h"
Include dependency graph for FxLedmapper32x32.ino:Go to the source code of this file.
Macros | |
| #define | CHIP_SELECT_PIN 5 |
| #define | COLOR_ORDER GRB |
| #define | DEFAULT_BRIGHTNESS 96 |
| #define | LED_PIN 2 |
| #define | LED_TYPE WS2812B |
| #define | MATRIX_HEIGHT 32 |
| #define | MATRIX_WIDTH 32 |
| #define | NUM_LEDS (MATRIX_WIDTH * MATRIX_HEIGHT) |
| #define | VIDEO_FPS 30 |
| #define | VIDEO_FRAME_HISTORY 2 |
Functions | |
| void | loop () |
| void | setup () |
Variables | |
| fl::UISlider | brightness ("Brightness", DEFAULT_BRIGHTNESS, 0, 255, 1) |
| fl::UIDescription | description ("Streams data/video1.rgb as a 32x32 mapped raw RGB asset. " "Change VIDEO_FPS if the export was authored at a different frame rate.") |
| fl::FileSystem | filesystem |
| bool | gError = false |
| fl::CRGB | leds [NUM_LEDS] |
| fl::UISlider | playbackSpeed ("Playback Speed", 1.0f, -2.0f, 2.0f, 0.01f) |
| fl::ScreenMap | screenMap |
| fl::UITitle | title ("Ledmapper 32x32 Video") |
| fl::Video | video |