Hi, This is my program. int a = 0x0A; printf("%c",a); Why is it that the output from the serial port is 0x0D and 0x0A instead of just 0x0A itself? Thanks..
Using serial port,what about writing yourself function uchar putchar(uchar ch) { while (!TI) ; TI = 0; SBUF = ch; }