I asked the same thing about sprintf(), good string conversion function. But I found out if you read the manual carefully that the printf() function can also output to another function say lcd_out() instead of serial port. eg: sprinf(lcd_out(), "Volts %u ", volts) Jerry ps. I would still want to have sprintf() function. ----- Original Message ----- From: wf To: Sent: Friday, May 21, 1999 2:08 PM Subject: Re: sprintf in CCS ? > Why do you want the sprintf? > > Miguel > > ---------- > > De: Roger Morella > > Para: PICLIST@MITVMA.MIT.EDU > > Assunto: sprintf in CCS ? > > Data: Sexta-feira, 21 de Maio de 1999 14:27 > > > > Does anyone know how I can do a sprintf using the CCS compiler? > > > > For those who don't know what sprintf is, it is the same as the printf > > function but instead of printing to the serial port, it prints to a > > buffer. > > > > ex. > > sprinf(*buffer, "Volts %u ", volts) > > > > Thanks in advance, > > Roger