Re: [EE] Saving "printf" arguments for later? Real-time on slow processor.
smplx <[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.pic |
|---|---|
| Message-ID | <[email protected]> |
I have now released alt_printf v3 http://xcprod.com/ALT_PRINTF The package now contains complete working client and server example code. You can actually test it on a PC using a pipe between the client and server. It uses a very simple protocol (which can be changed by the user). I've extended alt_printf so that it now produces a table of all the format strings used by the translated printf statements and a new program called gen_server_stubs uses this table to produce the server decode functions. The format strings are not sent by the client, instead the format string ID is sent. The format strings are stored in the server executable. All source code is available and is released under the MIT license. Have fun, I did :-) Regards Sergio Masci