| ??? 06/07/02 08:35 Read: times |
#24068 - serial data format problem |
Hi all,
I need to send a character say 'k' from 89C51 to PC's RS232 serial port. The character is perfectly send but the problem is with VB data format. I am passing hex value for 'k' by writing the instruction MOV SBUF,#107H And in VB I am using MSCOMM1 component to receive the character and display the same in a text box. The instruction are TEXT1.TEXT = MSCOMM1.INPUT I am receiving an ascii character(of higher value) insted of 'k'. I am using 9600 baudrate no parity 8 bit data 1 stop bit Can anyone tell me how I can make the two devices(PC and MicroC) understand eachother's language. I mean which data format I should use that can be understand by both of them (VB and 89C51). Ankas |
| Topic | Author | Date |
| serial data format problem | 01/01/70 00:00 | |
| RE: serial data format problem | 01/01/70 00:00 | |
| RE: serial data format problem | 01/01/70 00:00 | |
| RE: serial data format problem | 01/01/70 00:00 | |
| RE: serial data format problem | 01/01/70 00:00 | |
| RE: serial data format problem | 01/01/70 00:00 | |
| RE: serial data format problem | 01/01/70 00:00 | |
| RE: serial data format problem | 01/01/70 00:00 | |
| RE: serial data format problem | 01/01/70 00:00 | |
| RE: serial data format problem | 01/01/70 00:00 | |
RE: serial data format problem | 01/01/70 00:00 |



