Reply by TridenT March 30, 20052005-03-30
"Clay" <physics@bellsouth.net> wrote in message news:<1112113783.794301.274890@z14g2000cwz.googlegroups.com>...
> Hello, > > How about using sprintf() to do the format conversion and build a > string and then using your own putchar function to print the string? > > Clay
Yes, but I was wondering something easier exists. Some up/compilers maps their I/O (printf) to serial port automatically, or allow putchar override. But it seems it is not possible with C28 and CCS compilation. So, must do it from scratch ! again ! neverless, thx Clay !
Reply by Clay March 29, 20052005-03-29
Hello,

How about using sprintf() to do the format conversion and build a
string and then using your own putchar function to print the string?

Clay

Reply by TridenT March 29, 20052005-03-29
Hi,

 i'm working on C2812 TEXAS DSP.
I'd like to redefine a printf function to send strings to serial port
instead of RTDX way.

Have an idea ?

I'd tried to redefined putchar or putc function, but it seems more
complex.

thx.