??? 10/01/03 14:36 Read: times |
#55891 - RS232 Serial port problem |
Hi
i have a small problem.. that is using RS232 and sending characters to PC through serial port. I set up the hardware and it seems to me that its working. then i write a VB6 program using MSComm component. the problem is i do not receive the character on VB6 what i send from AT89c52. I setup the Timer 1 of 8051 for a baud rate of 9600 and same on the PC. But the character get changed when it is received on PC. Is Timer 3 on AT89c52 is creating problem as it can also be used to set the Baud rate. This timer is not present on AT89c51 and i am not doing any thing with this timer. Pls help me identify the problem.... can some body send me a some tutorial on net whic uses AT89c52 and VB6 on the PC to communicate. May be i am doing some mistake in software Shahzad |