I'm trying to use Octave and the Instrument Control package to read in serial data through the USB port. Right now I'm just sending test data through the port. Zeros and ones.
I'm getting correct data through the USB when I use
I get strange data when I try to use Octave though. I think I'm doing something wrong. Here's an example. I think I should be getting 0 or 1 from
> pkg load all > s1 = serial("/dev/ttyUSB1", 9600) s1 = 3 > srl_read(s1,1) ans = 49