??? 02/21/05 01:50 Read: times |
#88026 - Line buffering? Responding to: ???'s previous message |
In the VB code you're sending two characters 'K' and <CR>. Your 8051 code seems to be expecting only one character. In this instance I would normally store the received characters into memory and then process the characters when I receive a <CR> which is ascii code 13. I would normally use interrupts for the serial comms. If you think you have a hardware problem, write some code to echo the characters received on the 8051 then run Hyperterminal or your favourite serial comms package and check that what is sent is what is echoed. |
Topic | Author | Date |
8051 <-> RS232 comunication | 01/01/70 00:00 | |
VB to Microcontroller | 01/01/70 00:00 | |
Very Informative! | 01/01/70 00:00 | |
Language(s)? | 01/01/70 00:00 | |
Languages | 01/01/70 00:00 | |
Line buffering? | 01/01/70 00:00 | |
furthermore Russell Bull | 01/01/70 00:00 | |
Line buffering | 01/01/70 00:00 | |
buffer | 01/01/70 00:00 | |
Serial Comms and Visual Basic | 01/01/70 00:00 | |
Another URL | 01/01/70 00:00 | |
MSComm config | 01/01/70 00:00 | |
More on VB setup | 01/01/70 00:00 | |
VB Setup | 01/01/70 00:00 | |
Code for 8051/VB | 01/01/70 00:00 | |
Thank you | 01/01/70 00:00 | |
MSDN | 01/01/70 00:00 | |
Flush your buffers | 01/01/70 00:00 | |
Stu | 01/01/70 00:00 | |
REN ??? | 01/01/70 00:00 | |
REN !! | 01/01/70 00:00 | |
Hardware/software | 01/01/70 00:00 | |
Got a MAX232 or 1488/9 chip? | 01/01/70 00:00 | |
MAX232 and oscilloscope![]() | 01/01/70 00:00 |