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

◆ print()

void fl::print ( const char * str)

Definition at line 49 of file io.cpp.

49 {
50 if (!str) return;
51
52#ifdef FASTLED_TESTING
53 // Check for injected handler first
54 if (get_print_handler()) {
55 get_print_handler()(str);
56 return;
57 }
58#endif
59
60#ifdef __EMSCRIPTEN__
61 print_wasm(str);
62#elif defined(FASTLED_TESTING) || defined(__linux__) || defined(__APPLE__) || defined(_WIN32)
63 print_native(str);
64#elif defined(ESP32) || defined(ESP8266)
65 print_esp(str);
66#elif defined(__AVR__) && !defined(ARDUINO_ARCH_MEGAAVR)
67 print_avr(str);
68#elif defined(__MKL26Z64__)
69 // Teensy LC uses special no-op functions to avoid _write linker issues
70 print_teensy_lc(str);
71#elif defined(__IMXRT1062__) || defined(__MK66FX1M0__) || defined(__MK64FX512__) || defined(__MK20DX256__) || defined(__MK20DX128__)
72 // All other Teensy platforms use lightweight implementation
73 print_teensy(str);
74#else
75 // Use generic Arduino print for all other platforms including:
76 // - STM32 (STM32F1, STM32F4, STM32H7, ARDUINO_GIGA)
77 // - NRF (NRF52, NRF52832, NRF52840, ARDUINO_NRF52_DK)
78 // - All other Arduino-compatible platforms
79 print_arduino(str);
80#endif
81}

Referenced by fl::ostream::operator<<(), fl::ostream::operator<<(), fl::ostream::operator<<(), fl::ostream::operator<<(), fl::ostream::operator<<(), fl::ostream::operator<<(), fl::ostream::operator<<(), fl::ostream::operator<<(), fl::ostream::operator<<(), fl::ostream::operator<<(), fl::ostream::operator<<(), fl::ostream::operator<<(), fl::ostream::operator<<(), and printf().

+ Here is the caller graph for this function: