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

Yves Degoyon ydegoyon at free.fr
Wed Apr 26 11:40:56 CEST 2006


ola,

i think David and Alex did some succesful use of Arduino
and pd on windows and linux in the Arduino
workshop they organised in la hangar, bcn.
( we had 4 working in the pd workshop we did last month ).

well, in any case, the contacts are :

alex posada ( www.nice-noise.org ) : alex at nice-noise.org
lluis gomez i bigorda ( www.artefacte.org ) : lluis at artefacte.org

if that can help..
i never programmed arduino myself..

saludos,
sevy

Hans-Christoph Steiner wrote:

>
> I am here working with David Cuartielles and some of his students, so  
> I think he can write good Arduino code ;).  The network is down, and  
> I am on my Mac, so I don't have the exact code.
>
> We've tried a number of different programs and setups, and a couple  
> different boards and computers.  Even the basic program which just  
> relays the data received back to the serial port doesn't work.  Data  
> is not coming out of the serial port from Pd.
>
> Have you successfully written to the serial port on Windows using  
> [comport]?
>
> .hc
>
> On Apr 25, 2006, at 6:08 PM, Sylvain wrote:
>
>> Could you post the Arduino Code you implemented ?
>>
>> Sylvain
>>
>>
>> Hans-Christoph Steiner a écrit :
>>
>>>
>>> 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.
>>>
>>>
>>> _______________________________________________
>>> PD-list at iem.at mailing list
>>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
>>> listinfo/pd-list
>>>
>
>
> ________________________________________________________________________ 
> ____
>
> "[W]e have invented the technology to eliminate scarcity, but we are  
> deliberately throwing it away to benefit those who profit from  
> scarcity."
>                                                      -John Gilmore
>
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
>
>





More information about the Pd-list mailing list