Multiple consecutives sprintf and USBUART_PutString lines | Cypress Semiconductor
Multiple consecutives sprintf and USBUART_PutString lines
I'm having an issue on PSoC Creator 3.0. My decive is a LP35. I am trying to display some data on PuTTY and sending them in packets through a wireless radio.
I have a lot of float and integer values which hold in 8 char arrays.
Basically, I declared 8 char arrays of 80 bytes, initialized them, and then I have 8 consecutives sprintf lines, and 8 consecutives USBUART_1_PutString lines. For some reason, only my buffer 1, 3, 5 and 7 are displayed. I checked with the debugger and all 8 strings contains the right data, so it is just a matter of correctly displaying them on PuTTY and sending them in packets.
I added some 0.5 sec delay between each line, in case it was a delay problem but it did not solve the issue.
Are there some rules about using mutliples sprintf and USBUART_PutString?
I would post my project here but there is a lot of external libraries that I used, so I'm not sure that would work on other computers...