Android Question Send SeekBar serial

Discussion in 'Android Questions' started by freetoair, May 23, 2015.

  1. freetoair

    freetoair Member Licensed 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)
     
  2. freetoair

    freetoair Member Licensed User

    solved !
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice