Skip to content

Source: PinList.h

PinList

The LIGHT-DOMAIN half of pin/count list parsing for multi-output LED drivers — RmtLedDriver (one RMT channel per pin) and MultiPinLedDriver (one i80 data lane per pin) drive consecutive slices of the source buffer from two text controls.

Functions

Return Name Description
const char * assignCounts inline

assignCounts

inline

inline const char * assignCounts(const char * s, uint8_t nPins, nrOfLightsType totalLights, nrOfLightsType * counts, nrOfLightsType maxPerPin = 0, const char ** warn = nullptr)

Variables

Return Name Description
constexpr nrOfLightsType kMaxWs2812LedsPerPin constexpr
constexpr const char * kClampedWarning constexpr

kMaxWs2812LedsPerPin

constexpr

constexpr nrOfLightsType kMaxWs2812LedsPerPin = 2048

kClampedWarning

constexpr

constexpr const char * kClampedWarning =
    "some LEDs not driven: over per-pin max; add pins or use start/count"