FastLED 3.9.15
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages

◆ toString()

FASTLED_NAMESPACE_BEGIN fl::Str CRGB::toString ( ) const

Definition at line 13 of file crgb.cpp.

13 {
14 fl::Str out;
15 out.append("CRGB(");
16 out.append(int16_t(r));
17 out.append(",");
18 out.append(int16_t(g));
19 out.append(",");
20 out.append(int16_t(b));
21 out.append(")");
22 return out;
23}
Str & append(const char *str)
Definition str.h:409

References fl::Str::append().

+ Here is the call graph for this function: