FastLED 3.10.6
Loading...
Searching...
No Matches

◆ legacyClocklessChipsetFromName()

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

Definition at line 63 of file LegacyClocklessProxy.h.

64 {
65 if (name == "WS2812B" || name == "WS2812") {
66 if (out) *out = LegacyClocklessChipset::WS2812B;
67 return true;
68 }
69 if (name == "SK6812") {
70 if (out) *out = LegacyClocklessChipset::SK6812;
71 return true;
72 }
73 if (name == "WS2814") {
74 if (out) *out = LegacyClocklessChipset::WS2814;
75 return true;
76 }
77 if (name == "WS2818") {
78 if (out) *out = LegacyClocklessChipset::WS2818;
79 return true;
80 }
81 return false;
82}

References SK6812, WS2812B, WS2814, and WS2818.