Forums
Print diagnostic messages in any form. - Printable Version

+- Forums (https://www.embitz.org/forum)
+-- Forum: EmBitz - Public (https://www.embitz.org/forum/forum-16.html)
+--- Forum: EmBitz IDE (https://www.embitz.org/forum/forum-3.html)
+--- Thread: Print diagnostic messages in any form. (/thread-946.html)



Print diagnostic messages in any form. - AVI-crak - 13-11-2018

https://bitbucket.org/AVI-crak/sprint
Size - 1907 bytes with aggressive optimization - much easier and simpler printf ().
Print without parameter type, 1-4 arguments in arbitrary order.
No dependencies on external libraries.
Recognizes: "text", double, float, uint (8-16-32-64) _t, int (8-16-32-64) _t.
The text is printed without abbreviations.
Variables are limited by the number of characters OUT_TXT_SIZE_FLOATING (8-16).

Function to use in user code (macro)
printo ("text"); printo ( 0,566f, "text", 123, "/n/t");

The taste and color can change the contents of the function soft_print (char * txt).
This function prints on physics.