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

URGENT ! writing to serial port without using Printf

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??????????

Parents
  • "what i want to do is put a variable "temp" onto the serial port"

    What is temp - char? int? pointer? string? ...

    If you find that printf is too cumbersome, you will need to write your own routines to suit your specific requirements; eg,
    * write a byte from XDATA space in hex;
    * write an int from DATA space in signed decimal;
    etc, etc...

Reply
  • "what i want to do is put a variable "temp" onto the serial port"

    What is temp - char? int? pointer? string? ...

    If you find that printf is too cumbersome, you will need to write your own routines to suit your specific requirements; eg,
    * write a byte from XDATA space in hex;
    * write an int from DATA space in signed decimal;
    etc, etc...

Children
No data