This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

printf statement

Greetings,

I'm "attempting" to use the printf statement within my main code. Currently I'm seeing nothing out.

My processor is a Dallas DS80C320. This has two serial port. - sbuf0 and sbuf1.

Is there anything I need to do regarding printf - meaning when I'be used an "8051" printf worked and went to sbuf. What tells the code to direct it to sbuf0.

I have started with older code - again - printf worked with an 8051. I'm purely guessing that somewhere I need to tell it to rename from sbuf to sbuf0.

I notice within the include stdio.h file I see:
extern int printf (const char *, ...);

Help

Thanks
-Sparky