Go to the source code of this file.
◆ printf_()
| int printf_ |
( |
const char * |
format, |
|
|
|
... |
|
) |
| |
Print a formatted string to UART (same as mu::uartPrintf).
This function is an alias for mu::uartPrintf, providing the same functionality.
- Parameters
-
| format | The format string. |
| ... | Additional arguments specifying data to print. |
- Returns
- int The number of characters printed.
◆ sprintf_()
| int sprintf_ |
( |
char * |
buffer, |
|
|
const char * |
format, |
|
|
|
... |
|
) |
| |
Print a formatted string to a buffer.
This function writes a formatted string to a buffer. It behaves similarly to the standard sprintf function.
- Parameters
-
| buffer | The buffer to write the formatted string into. |
| format | The format string. |
| ... | Additional arguments specifying data to print. |
- Returns
- int The number of characters written to the buffer.