Richard Payne
asked on
printf(*format,....) how to pass augument
How to pass the augument within zprintINFO(.....) to zprintf(.....)
This is for MSP430 and PIC24 code. zpintf is custom printf code to limits code space. I have repeating text INFO
This is for MSP430 and PIC24 code. zpintf is custom printf code to limits code space. I have repeating text INFO
//==================================================================
//==================================================================zprintf
// Purpose :
// Input :
// Output :
// Note :
//================================================================
void zprintfINFO(char *format, ...)
{
zprintf(format,...);
}
//==================================================================
//==================================================================zprintf
// Purpose :
// Input :
// Output :
// Note :
//================================================================
void zprintf(char *format, ...)
{
ASKER
Hi Deepu
Sorry that not the answer. I do not wish to use the standard library since it not memory efficient.
R
Sorry that not the answer. I do not wish to use the standard library since it not memory efficient.
R
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
http://www.cplusplus.com/reference/cstdio/printf/
Best Regards,
Deepu Abraham K