[PD] writing to the serial port with [comport]

Hans-Christoph Steiner hans at eds.org
Tue Apr 25 17:54:26 CEST 2006


On Apr 25, 2006, at 4:23 PM, Mathieu Bouchard wrote:

> On Mon, 24 Apr 2006, Hans-Christoph Steiner wrote:
>
>> I am trying to write data from Pd to Arduino.  Has anyone used  
>> [comport]
>> to write out serial data before?  Any example patches?  I can only  
>> get
>> TX_OVERRUNS errors.
>
> If CTS/RTS pins aren't connected properly then the computer's UART  
> might
> be supposing that the device is not there and so it will accumulate  
> data
> until the buffer overflows, a situation which gets trapped and  
> becomes a
> TX_OVERRUNS.

No data ever gets thru when writing to the serial port, and on  
reading works fine as it is.  So I don't think CTS/RTS is required.   
Its not used on GNU/Linux or Mac OS X.

.hc

________________________________________________________________________ 
____

            "The arc of history bends towards justice."
                                            - Dr. Martin Luther King,  
Jr.





More information about the Pd-list mailing list