We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
my problem is i want to send data to the serial port without using printf, this is because i want to read data of the serial port to use in another application. but using printf takes too long to run as i want my program to run at a speed less than 1mS. any help as soon as possible would be very helpfull??????????
As Andrew said, see my UART driver, written in C, that writes data to the serial port. All you need to do is "override" putchar() and _getket(). Keil's printf and getchar functions will then use your versions of putchar and _getkey. UART driver at http://www.embeddedfw.com (bottom of page). - Mark