Yes. I am using CCS for launchpadI was thinking of the reverse.
the sprintf is the correct way to do it, using either %d or%i or any of the other formatting definitions.
It's the same in BoostC and gcc, so it should be the same in CCS (Which is included with launchpad)
Also, %i does not work for me when using sprintf(buffer,"%i",x) but it works when i use %d.
i even made sure I use global variables for when using %i but no use.
While I am on the subject, what the advantage or using volatile static variables versus just normal variables such int or char or float?