17#if UDON_PLATFORM_OUTPUT_STREAM == UDON_PLATFORM_OUTPUT_SERIAL
19# if UDON_PLATFORM_HAS_SERIAL_PRINTF
21 template <
typename... Args>
22 inline void Printf(Stream& stream,
const char* format, Args&&... args)
24 stream.printf(format, args...);
27# elif defined(ARDUINO)
29 template <
typename... Args>
30 inline void Printf(Stream& stream,
const char* format, Args&&... args)
33 snprintf(buf,
sizeof buf, format, args...);
43 template <
typename... Args>
44 inline void Printf(
const char* format, Args... args)
46 Printf(Serial, format, args...);
49#elif UDON_PLATFORM_OUTPUT_STREAM == UDON_PLATFORM_OUTPUT_CONSOLE
51 template <
typename... Args>
52 inline void Printf(
const char* format, Args... args)
54 printf(format, args...);
void Printf(const char *format, Args... args)
Definition Printf.hpp:44