We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi to all I am new in STM32 and keil (I used Atmel chips) and now I am getting familier with them. I made a project and I can send data to serial port with the following function : "HAL_UART_Transmit(&huart1,(uint8_t *) "Hello\n\r", 7, 10);" but I do not know why there is no data when I use the following function based on sprintf: "sprintf((char *) buffer,"23");"
The thing is that the code is well compiled and there is no error but the function does not work. Do I need to add some more code for sprintf function ??!!!
Help please
What do you mean by, "there is no data" ?
Show a complete example of your usage.
Say what you expected to happen.
Say what actually happened.
Say what you have done to investigate the problem ...