| ??? 07/07/02 15:24 Read: times |
#25394 - SERIAL COMMUNICATION USING VB6 |
I want to establish serial communication between 89c51 and PC. At PC side,I am using MSComm control in VB6.
I want to send data such as 234 in a byte format and not sequntially as 2,3,4. When instruction such as: MSComm1.Output="234" or MSComm1.Output=out(out is a variable defined as byte array & out="234") is used, data is sent in the order 2,3,4. questions: 1)What should i do to send 234 as 8 bit data? 2)The data sent or received by UC is in HEX format. Keeping this in mind, which of the InputMode property(comInputModeText or comInputModeBinary)should be chosen ? 3)If UC sends data 234 as 8 bit data, what will be the output of instruction: Text1.Text =MSComm1.Input ? (ASCII character of '234' or '234') |
| Topic | Author | Date |
| SERIAL COMMUNICATION USING VB6 | 01/01/70 00:00 | |
| RE: SERIAL COMMUNICATION USING VB6 | 01/01/70 00:00 | |
| RE: SERIAL COMMUNICATION USING VB6 | 01/01/70 00:00 | |
| RE: SERIAL COMMUNICATION USING VB6 | 01/01/70 00:00 | |
| RE: SERIAL COMMUNICATION USING VB6 | 01/01/70 00:00 | |
| RE: SERIAL COMMUNICATION USING VB6 | 01/01/70 00:00 | |
| RE: SERIAL COMMUNICATION USING VB6 | 01/01/70 00:00 | |
| RE: Mahmood | 01/01/70 00:00 | |
| RE: Mahmood | 01/01/70 00:00 | |
| RE: Mahmood | 01/01/70 00:00 | |
| RE: Mahmood - Rob | 01/01/70 00:00 | |
| RE: Andy - Rob | 01/01/70 00:00 | |
| RE: Mahmood - Rob | 01/01/70 00:00 | |
| RE: Rob | 01/01/70 00:00 | |
how if Chr(129)...? | 01/01/70 00:00 | |
| RE: Rob | 01/01/70 00:00 | |
| RE: SERIAL COMMUNICATION USING VB6 | 01/01/70 00:00 | |
| RE: SERIAL COMMUNICATION USING VB6 | 01/01/70 00:00 |



