[Csnd] serialRead one value only?
Date | 2018-06-08 10:46 |
From | luis antunes pena |
Subject | [Csnd] serialRead one value only? |
Hi all, I'm working with a camera that sends data via serial port - a
very cool project called OpenMV Cam. And I was wondering if there
is a possibility to get two or more values out of serialRead ? As
far as I can see from the manual, this opcode can only read one
value. Best, Luis |
Date | 2018-06-08 11:20 |
From | Victor Lazzarini |
Subject | Re: [Csnd] serialRead one value only? |
Looking at the documentation, I suppose you have one data stream for each open serial port. So if you want to open for instance the bluetooth and the usb ports, you use two instances of serialBegin and with the separate handles, read the data. ======================== Prof. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 8 Jun 2018, at 10:46, luis antunes pena |
Date | 2018-06-08 12:25 |
From | Richard |
Subject | Re: [Csnd] serialRead one value only? |
As an alternative, maybe you can use Python to read the serial
port with pyserial. It has a lot of options. On 08/06/18 11:46, luis antunes pena
wrote:
|