B4X:
Sub AStream_NewData (Buffer() As Byte)
For i = 0 To Buffer.Length-1
New123(j)=Buffer(i)
j=j+1
If j = 2 Then
j=0
Sig=Bit.Or(Bit.ShiftLeft(New123(1),8),New123(0))
Graf
End If
Next
End Sub
Last edited: