>You want to print to a string? Does the CCS compiler not have a sprintf function? > >Mike > > >>How can i redirect the printf output of CCS C COMPILER for a string? >> >>Miguel No. The CCS PCM compiler does not come with a sprintf function. I too would also like to be able to print to a string. However, I ended up writing my own sprintf to handle my output when I needed it piped to something other than a serial port. CCS PCM only outputs printf's (puts, gets and the like as well) to a serial port, software or silicon. The printf "function" is handled directly by the compiler at compile-time. The formatting string is parsed by the compiler.. there is no runtime interpretation. -d