I have another question regarding USBserial :
after that I can see in the debug watch window the entry "Astream / ain / buffer / 0..99" my received bytes.
How can I use this Bytes in my program ? (without events) and how can I get the count from the received bytes ? (without a event)
B4X:
If usb.Open( 9600,1) = usb.USB_DEVICE Then
AStream.Initialize(usb.GetInputStream,usb.GetOutputStream,"")
AStream.Write(Array As Byte (0x0f))
after that I can see in the debug watch window the entry "Astream / ain / buffer / 0..99" my received bytes.
How can I use this Bytes in my program ? (without events) and how can I get the count from the received bytes ? (without a event)