Loads, dithers, and scales a single byte for a given output slot and lane, using class dither and scale values.
- Template Parameters
-
SLOT | The data slot in the output stream. This is used to select which byte of the output stream is being processed. |
- Parameters
-
pc | reference to the pixel controller |
lane | the parallel output lane to read the byte for |
Definition at line 385 of file pixel_controller.h.
UISlider scale("Scale", 4,.1, 4,.1)
static FASTLED_FORCE_INLINE uint8_t loadByte(PixelController &pc)
Read a byte of LED data.
static FASTLED_FORCE_INLINE uint8_t dither(PixelController &pc, uint8_t b)
Calculate a dither value using the per-channel dither data.
References PixelController(), dither(), FASTLED_FORCE_INLINE, loadByte(), and scale.