I'm working with an 4D Oled display connected to my Arduino. I want the display to display a line of text that is build out of two (variable) integers and some static text:
integer + static text + integer
I there a simple way to load these integers in the char?
The sprintf command is also a possibility. It's advantage is that it offers more control over the way a value is converted to a string, as well as being able to handle any type of value.
It's disadvantage is the rather cryptic nature of the format string, and the fact that the functions has a large memory footprint.
Thanks guys. I have tried the itoa function and it seems to work. Haven't got the chance to test it with the hardware though, I will try that tomorrow.