Hi, I'm using Silabs IDE and KEIL C 51. I want to use printf, I know that printf is using putchar. So I've modified the file PUTCHAR.C to meet my HARDWARE UART the file PUTCHAR.C is located in the c:keil\C51\lib But its not working. What is the correct method ? Do I need to ADD the putchar file to my project ?
"And move the new file to your project directory." Although not necessary, this is a very, very good idea. It's always best to leave the stuff provided with the compiler alone, and keep all your own stuff in your own folders.