This is the multi-page printable view of this section. Click here to print...

Return to the regular view of this page

As of 2025-07-24

Printf Implementation

Functionality similar to C standard printf
    The MWX library provides an implementation similar to the commonly used printf() function in C.
    int mwx_printf(const char* format, ...)
    int mwx_snprintf(char* buffer, size_t count, const char* format, ...)

    mwx_printf() outputs formatted text to the Serial object. It performs the same processing as Serial.printfmt().

    mwx_snprintf() performs snprintf formatting to a buffer.