• Problem with sprintf of float
    Hi, I have a strange problem with sprintf() function. Sometimes when i declare new variable in my project (for example an U8) and I attempt to printf a previously declared float variable in a string...
  • Float to ASCII conversion without using sprintf function
    Hello, I am removing all sprintf() function from my souce code as this function does not allow me to set the proper thread stack size. Does anyone have any function that implements this conversion...
  • Incorrect work of the sprintf function
    char str [4]; sprintf (str, "%.2x", 0x01);//Conversion of byte to the 2nd bit hexadecimal value I expect in str[0] 0 character, in str[1] 1 character, that is '0' and '1'. As a result function...
  • Sprintf doesn't work correctly?
    Hi, First of all, I'm programming the T89C51CC01 Microcontroller using C51 with Keil µVision4. My head teacher wrote the following header file for it (source file also included) -- it's German: ...
  • Sprintf works, but not putchar or printf
    I am using Infineon XC866 and Keil uvision. I selected the LX51 Linker in the project setup. The UART is init through /// Initialization of module 'UART (Serial Interface)' UART_vInit(); which...