I am interfacing an led with via serial port. I have set up the serial port already.
I have a display with these specification parameters: baudrate:2400 data:8 bits end code:1bit
I am trying to display the test code which comes in the following format: "10"+"01H"+"0FFH"
I tried printf but didn't work: printf("10"+"0x01"+"0x0FF"); Any suggestions??
10x
As I said to you initially, you need to start with a 'C' textbook.
There are some suggestions here: http://www.keil.com/books/ www.8052.com/books.phtml
Then you need to study the Keil manuals, and take a look at the Keil example for using printf on the 8051: http://www.keil.com/support/man/docs/uv3/uv3_ex_hello.htm