Android Question call a subroutine

fgh3966

Active Member
Licensed User
Hello everybody.

I put a data to com usbserial port with this code, but i'm not remember how to get data from usbserial port ,
how call a sub with data from com port ?
Il look at callsub, etc ... but no match

sub do send data 001 to usbserial:
Private Sub btn1_Click
    If usbserial.IsInitialized Then
    Dim st As String = "001"
    Dim msgt() As Byte = st.GetBytes("UTF8")
    usbserial.Write(msgt)
        lblspeed.Text = "textA"
    End If
   
End Sub

Regard
 
Last edited:
Top