Loads and scales a single byte for a given output slot and lane.
- 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 |
scale | the scale data for the byte |
Definition at line 400 of file pixel_controller.h.
LIB8STATIC_ALWAYS_INLINE uint8_t scale8(uint8_t i, fract8 scale)
Scale one byte by a second one, which is treated as the numerator of a fraction whose denominator is ...
static FASTLED_FORCE_INLINE uint8_t scale(PixelController &pc, uint8_t b)
Scale a value using the per-channel scale data.
static FASTLED_FORCE_INLINE uint8_t loadByte(PixelController &pc)
Read a byte of LED data.
References PixelController(), FASTLED_FORCE_INLINE, loadByte(), scale(), and scale8().