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??????????
Look in the downloads area for an example of interrupt-driven serial IO; Mark Odell has recently posted an interrupt-driven serial IO driver in this very forum. There is nothing to stop you writing direct to SBUF!!