Greetings,
regarding this link:
http://www.keil.com/support/docs/788.htm
When I attempt to use the putchar the code seems to lock up at the line:
while (!TI_1);
When I comment this out my printf seems to at least transmit at the TXD pin.
Am I correct that at the first call of this putchar, TI_1 will be 0 and the program will never leave this while loop? - since nothing has been sent to sbuf yet.
Can you help clear this up?
Should it be while(!TI) after the sbuf = line.
Sit and wait unit the last bit?
Thanks Sparky