[PD] writing to the serial port with [comport]
Hans-Christoph Steiner
hans at eds.org
Tue Apr 25 18:51:22 CEST 2006
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
More information about the Pd-list
mailing list