Test all available drivers.
213 {
215
216 fl::sstream ss;
218 ss << "| TESTING ALL AVAILABLE DRIVERS |\n";
221
223 Serial.print(drivers.size());
224 Serial.println(
" driver(s) to test\n");
225
226 int tested = 0;
227 int skipped = 0;
228
229 for (fl::size i = 0; i < drivers.size(); i++) {
230 const char* name = drivers[i].name.c_str();
231 if (drivers[i].name.empty()) {
232 Serial.println(
" [SKIP] Unnamed driver");
233 skipped++;
234 continue;
235 }
236
238 tested++;
239 } else {
240 skipped++;
241 }
242
244 }
245
248 Serial.print(
"Driver tests complete: ");
250 Serial.print(
" tested, ");
252 Serial.println(
" skipped");
253 }
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
fl::span< const fl::DriverInfo > getDriverInfos() const
Get full state of all registered channel drivers.
bool testSingleDriver(const char *driverName)
Test a single driver with LED patterns.
const char * c_str() const FL_NOEXCEPT
string str() const FL_NOEXCEPT
void delay(u32 ms, bool run_async=true) FL_NOEXCEPT
Public delay wrapper that keeps bare Arduino delay() preferred after using fl::delay; while still all...