FastLED 3.9.15
Loading...
Searching...
No Matches

◆ printHeader()

void DriverTestRunner::printHeader ( )
inlineprivate

Print test startup header.

Definition at line 121 of file TestRunner.h.

121 {
122 fl::sstream ss;
123 ss << BOX_TOP;
124 ss << "| ESP32 Generic Driver Test |\n";
125 ss << "| Tests all available LED channel drivers via Channel API |\n";
126 ss << BOX_BOTTOM;
127 ss << "\nPlatform: " << getPlatformName() << "\n";
128 ss << "Data Pin: " << DATA_PIN << "\n";
129 ss << "LED Count: " << mNumLeds << "\n";
130 Serial.print(ss.str().c_str());
131 }
#define DATA_PIN
Definition ClientReal.h:82
const char * getPlatformName()
Get a human-readable name for the current platform.
#define BOX_TOP
Definition TestRunner.h:27
#define BOX_BOTTOM
Definition TestRunner.h:29
const char * c_str() const FL_NOEXCEPT
string str() const FL_NOEXCEPT
Definition strstream.h:43
#define Serial
Definition serial.h:304

References BOX_BOTTOM, BOX_TOP, fl::basic_string::c_str(), DATA_PIN, getPlatformName(), mNumLeds, Serial, and fl::sstream::str().

Referenced by runAllTests().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: