Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/10/02 12:00
Read: times


 
#22811 - serial port on 8051
I am having trouble receiving "Hello world" from the 8051 serial port on my pc, I am using the java commapi to view the data being sent from the serial port on the micro
below is the source code

void main (void) { SCON = 0x50;
TMOD |= 0x20;
TH1 = 0xf3;
TR1 = 1;
TI = 1;
printf ("Hello Worldn");
while (1) { ;
}
}

here are the values of the characters I am receiving 114 188 62 143 35 43 146 -1

this is what I see in the terminal
r¼>#+?

Could some one please help me out.

Kind regards Michael

List of 3 messages in thread
TopicAuthorDate
serial port on 8051            01/01/70 00:00      
RE: serial port on 8051            01/01/70 00:00      
RE: serial port on 8051            01/01/70 00:00      

Back to Subject List