Some background. StrXPrintf is a function I adapted about 10 years ago. It's much smaller than the C runtime printf because it doesn't have floating point support. It also add support for %b to print binary output.
It does no memory allocations and because it takes a pointer to a function to output each character you can printf your string directly to an LCD or UART or whatever, without having to sprintf into a string someplace and then output that.
Some background. StrXPrintf is a function I adapted about 10 years ago. It's much smaller than the C runtime printf because it doesn't have floating point support. It also add support for %b to print binary output.
It does no memory allocations and because it takes a pointer to a function to output each character you can printf your string directly to an LCD or UART or whatever, without having to sprintf into a string someplace and then output that.