Android Question Send SeekBar serial

freetoair

Member
Licensed User
Longtime User
Sub SeekBar1_ValueChanged (Value As Int, UserChanged As Boolean)
sout.WriteBytes(Value,0,1)
sout.Flush
End Sub

How change Value(int) to (byte) to send on serial

sout = File.OpenOutput("","/dev/ttyS0",True)
 
Top