help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Serial connection (realtime)


From: GuiCintraAlves
Subject: Re: Serial connection (realtime)
Date: Wed, 1 Mar 2017 05:24:51 -0800 (PST)

I'm making the arduino connection using potentiometer (for testing) and I get
random values ​​... can you tell me why?

pkg load instrument-control

s1 = serial("/dev/ttyACM0",9600)
data = srl_read(s1,100)
.............................................
Serial Port Object
    open:     1
    port:     /dev/ttyACM0
    baudrate: 9600
    parity:   None
    bytesize: 8
    stopbits: 1
    timeout:  -1


data =

 Columns 1 through 18:

  13  10  53  53  50  13  10  53  53  49  13  10  53  53  50  13  10  53

 Columns 19 through 36:

  53  49  13  10  53  53  51  13  10  53  53  48  13  10  53  53  50  13

 Columns 37 through 54:

  10  53  53  49  13  10  53  53  49  13  10  53  53  49  13  10  53 



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Serial-connection-realtime-tp4682072p4682078.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]