Hi there,
Let's say I initialize an AsyncStream like this:
It's possible after doing this to reinitialize it for "Write only" like this:
I've tried this but after the second initilization I can't write to the astreams1.
Thanks for thelp.
Let's say I initialize an AsyncStream like this:
B4X:
astreams1.Initialize(UsbSerial1.GetInputStream, UsbSerial1.GetOutputStream, "astreams1")
It's possible after doing this to reinitialize it for "Write only" like this:
B4X:
astreams1 = Null
astreams1.Initialize(Null, UsbSerial1.GetOutputStream, "astreams1")
I've tried this but after the second initilization I can't write to the astreams1.
Thanks for thelp.