??? 04/10/04 06:30 Read: times |
#68269 - so note for your vb Responding to: ???'s previous message |
to let your vb recieved data string from mcu , some thing you need to know
for mscommand , the Rthreshold value mean a mscomm1.oncomm event will happened , when your input buffer count = Rthreshold value ( pc side) if you need to read more then one byte data in one time , you will have to set your mscomm1.inputlen value to what you need ,and sdata=mscomm1.input will move the data string (base on your inputlen) into sdata , so in your case if you need to read 4 bytes data from your mcu at one time , you have to set your mscomm1.inputlen=4, and the RthresHold=4, with there you may recieved and readout datas from pc buffer in which your mcu send try to remodify your vb program see what happen , happe programing chris |
Topic | Author | Date |
8051 -> mscomm1.input | 01/01/70 00:00 | |
RE: 8051 -> mscomm1.input | 01/01/70 00:00 | |
RE: 8051 -> mscomm1.input | 01/01/70 00:00 | |
RE: 8051 -> mscomm1.input | 01/01/70 00:00 | |
RE: 8051 -> mscomm1.input | 01/01/70 00:00 | |
RE: 8051 -> mscomm1.input | 01/01/70 00:00 | |
display wrong number | 01/01/70 00:00 | |
RE: display wrong number | 01/01/70 00:00 | |
RE: display wrong number | 01/01/70 00:00 | |
RE: display wrong number | 01/01/70 00:00 | |
so note for your vb | 01/01/70 00:00 | |
Still not working~.......... | 01/01/70 00:00 | |
RE: Still not working~.......... | 01/01/70 00:00 | |
This line: | 01/01/70 00:00 | |
RE: Still not working~.......... | 01/01/70 00:00 | |
Okay~! but you email address is...? | 01/01/70 00:00 | |
my email![]() | 01/01/70 00:00 | |
RE: display wrong number | 01/01/70 00:00 | |
RE: display wrong number | 01/01/70 00:00 | |
RE: display wrong number | 01/01/70 00:00 | |
RE: 8051 -> mscomm1.input | 01/01/70 00:00 | |
RE: 8051 -> mscomm1.input | 01/01/70 00:00 | |
Whole new one | 01/01/70 00:00 | |
Cannot use on_comm | 01/01/70 00:00 |