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

◆ println()

void fl::println ( const char * str)

Definition at line 83 of file io.cpp.

83 {
84 if (!str) return;
85
86#ifdef FASTLED_TESTING
87 // Check for injected handler first
88 if (get_println_handler()) {
89 get_println_handler()(str);
90 return;
91 }
92#endif
93
94#ifdef __EMSCRIPTEN__
95 println_wasm(str);
96#elif defined(FASTLED_TESTING) || defined(__linux__) || defined(__APPLE__) || defined(_WIN32)
97 println_native(str);
98#elif defined(ESP32) || defined(ESP8266)
99 println_esp(str);
100#elif defined(__AVR__) && !defined(ARDUINO_ARCH_MEGAAVR)
101 println_avr(str);
102#elif defined(__MKL26Z64__)
103 // Teensy LC uses special no-op functions to avoid _write linker issues
104 println_teensy_lc(str);
105#elif defined(__IMXRT1062__) || defined(__MK66FX1M0__) || defined(__MK64FX512__) || defined(__MK20DX256__) || defined(__MK20DX128__)
106 // All other Teensy platforms use lightweight implementation
107 println_teensy(str);
108#else
109 // Use generic Arduino print for all other platforms including:
110 // - STM32 (STM32F1, STM32F4, STM32H7, ARDUINO_GIGA)
111 // - NRF (NRF52, NRF52832, NRF52840, ARDUINO_NRF52_DK)
112 // - All other Arduino-compatible platforms
113 println_arduino(str);
114#endif
115}