- Jun 6, 2020
- 11,559
- 4,422
I have a couple of Astream.Write commands in sequence, one of them sending something different than the other. But both have to be sent back to back.
So I am doing This:
B4X:
But it doesnt work. Soon as it encounters the Sleep(100), it returns and starts completeing everything that in the routine that called WriteCommand.
As you can imagine, this clobbers the serial data going on since its not really "waiting"
any ideas?
So I am doing This:
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
But it doesnt work. Soon as it encounters the Sleep(100), it returns and starts completeing everything that in the routine that called WriteCommand.
As you can imagine, this clobbers the serial data going on since its not really "waiting"
any ideas?
برای دیدن لینک ها باید ثبت نام کنید