FastLED 3.10.9
Loading...
Searching...
No Matches

◆ legacyClocklessChipsetFromName()

bool legacyClocklessChipsetFromName ( const fl::string & name,
LegacyClocklessChipset * out )
inline

Definition at line 71 of file LegacyClocklessProxy.h.

72 {
73 if (name == "WS2812B" || name == "WS2812") {
74 if (out) *out = LegacyClocklessChipset::WS2812B;
75 return true;
76 }
77 if (name == "SK6812") {
78 if (out) *out = LegacyClocklessChipset::SK6812;
79 return true;
80 }
81 if (name == "WS2814") {
82 if (out) *out = LegacyClocklessChipset::WS2814;
83 return true;
84 }
85 if (name == "WS2818") {
86 if (out) *out = LegacyClocklessChipset::WS2818;
87 return true;
88 }
89 return false;
90}

References SK6812, WS2812B, WS2814, and WS2818.