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 481 of file pixel_controller.h.
static FASTLED_FORCE_INLINE fl::u8 loadByte(PixelController &pc)
Read a byte of LED data.
static FASTLED_FORCE_INLINE fl::u8 scale(PixelController &pc, fl::u8 b)
Scale a value using the per-channel scale data.
References PixelController(), FASTLED_FORCE_INLINE, loadByte(), and scale().