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

ASC0 & ASC1 simultaneously using with PRINTF

I want to use PRINTF function to send different data to ASC0 and ASC1 simultaneosly. If i change _getkey and putchar in LIB for ASC1, so PRINTF will send data to ASC1. How to write new PRINTF_1 for ASC1 while using PRINTF from stdio.h with ASC0?

Parents
  • "Did you say about changing putchar directly in C166\LIB\PUTCHAR.C?"

    That is the default version supplied by Keil - you probably want to keep that!

    It's probably better to copy that file to (one of) your project folder(s) and modify it there.
    Don't forget to add it to your project!

Reply
  • "Did you say about changing putchar directly in C166\LIB\PUTCHAR.C?"

    That is the default version supplied by Keil - you probably want to keep that!

    It's probably better to copy that file to (one of) your project folder(s) and modify it there.
    Don't forget to add it to your project!

Children