• sprintf
    Hello! I am trying to use sprintf, but get no result (C51, version 5.20). char xdata command [80], i=100; strcpy (command, "Hello!"); // now command contains "Hello!" sprintf (command, "Test %d...
  • SPRINTF()
    I am using SPRINTF() function and it increase the code by 2.3K. Is there any method to reduce the code size. Thanks, Mashood
  • sprintf
    Hello ALL! It would be very nice to get some help for the next question. I'm using a f12x µC. There are two active Uart's. I put a command on the Uart0 every 500ms. This command is transparent for...
  • Problem with sprintf
    I have to following code: // Write screen n = sprintf( screen_msg, " TV: %#4.1f FV: %#4.1f CV: %#4.1f SV: %#4.1f\r\n", ad_value[2], ad_value[1], ad_value[0], ad_value[3] ); n += sprintf( screen_msg...
  • sprintf() problem.
    Hi! Can you please tell me what is wrong in here: /* An example from Cx51 userÂ's guide */ #include<stdio.h> #include<float.h> void main(void) { code char buf[100]; int n; int a,b; float pi;...