- Jun 6, 2020
- 11,559
- 4,422
I have a SerialPort library that raises the event:
B4X:
The event is raised multiple times after a command has been sent to the SerialPort.
That is - a single command's output usually results in the BytesRead event being called multiple times.
Will this example code Wait For the BytesRead events multiple times or only once?
B4X:
Presumably it'll Wait For the event just once, so I need to do something like this:
B4X:
B4X:
BytesRead(Bytes() As Byte)
The event is raised multiple times after a command has been sent to the SerialPort.
That is - a single command's output usually results in the BytesRead event being called multiple times.
Will this example code Wait For the BytesRead events multiple times or only once?
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
Presumably it'll Wait For the event just once, so I need to do something like this:
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید