Look in the source file _ser.c you will notice that the ser_putc will only
queue the first character
to SBUF, the rest are placed in TxBuffer. ser_interrupt_handler will
transmit the rest as they are sent.
You need to enable serial interrupts, if you are going to use this library.
From: rajat kohli [mailto:rajat_tech@...]
Sent: Friday, February 21, 2003 9:56 AM
Subject: [Sdcc-user] data to serial port
Can anyone guide me on sending data to serial port of MCU, i tried it as in
the following program, What would be the default baudrate for this. Im using
kit having 11.0592 mhz crystal.
void main ()
This program gets compiled properly, but I just get 'r' on the terminal at
my PC. Why dont i get the complete string?
how can i use printf statement to send data?
Can anyone help me???
Do you Yahoo!?
Tax Center - forms, calculators, tips, and more