[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Serial connection (realtime)
From: |
GuiCintraAlves |
Subject: |
Re: Serial connection (realtime) |
Date: |
Tue, 7 Mar 2017 03:44:21 -0800 (PST) |
The conversion worked. But the code, no. After all what is the real purpose
of this code? Write the data ?? I cony analyze more than one example signal
detect 2 different potentiometers on the same serial?
pkg load instrument-control
s1 = serial("/dev/ttyACM0",9600)
data = srl_read(s1,100);
s1 = char(data);
val = str2num(s1)
..............................................
s1 =
Serial Port Object
open: 1
port: /dev/ttyACM0
baudrate: 9600
parity: None
bytesize: 8
stopbits: 1
timeout: -1
val =
5
558
558
558
558
558
558
558
..............................................
--
View this message in context:
http://octave.1599824.n4.nabble.com/Serial-connection-realtime-tp4682072p4682187.html
Sent from the Octave - General mailing list archive at Nabble.com.
- Serial connection (realtime), GuiCintraAlves, 2017/03/01
- Re: Serial connection (realtime), Juan Pablo Carbajal, 2017/03/01
- Re: Serial connection (realtime), GuiCintraAlves, 2017/03/01
- Re: Serial connection (realtime), Juan Pablo Carbajal, 2017/03/01
- Re: Serial connection (realtime), GuiCintraAlves, 2017/03/01
- Re: Serial connection (realtime), Juan Pablo Carbajal, 2017/03/01
- Re: Serial connection (realtime), GuiCintraAlves, 2017/03/01
- Re: Serial connection (realtime), Juan Pablo Carbajal, 2017/03/01
- Re: Serial connection (realtime), Kire Pudsje, 2017/03/01
- Re: Serial connection (realtime), Kire Pudsje, 2017/03/01
- Re: Serial connection (realtime),
GuiCintraAlves <=
- Re: Serial connection (realtime), Kire Pudsje, 2017/03/07