Hi, I am looking for examples in programming the 2nd serial interface.I get data on ser0 and have to send it to ser1. Who can help me???
You will need to rewrite putchar() to use the other port. It's in putchar.c - surprise! See Chapter 6, "Advanced Programming Techniques" in the manual. Similarly getkey() for input
Since polled I/O consumes too much of the processor's computing power, can I find some example using buffered interrupt instead?
Search the Keil support site - there's certainly a C51 interrupt-driven example there!