Dear pd list,
Where can I find help on how to use the serial object under NT? I cannot locate a serial.pd file.
Thanks in advance,
Ian Stevenson audile@bigpond.com www.users.bigpond.com/audile
Hi Ian, sorry for the delay...
The (unfinished) "serial" object just takes incoming numbers (0-255 I think) and sends them out a "com port." Serial input isn't handled at all. Look in u_main.tk to see how the serial port is initialized (and change the code as needed...)
cheers MIller
On Wed, Jan 17, 2001 at 04:40:09PM +1100, Ian Stevenson wrote:
Dear pd list,
Where can I find help on how to use the serial object under NT? I cannot locate a serial.pd file.
Thanks in advance,
Ian Stevenson audile@bigpond.com www.users.bigpond.com/audile
Hello,
The (unfinished) "serial" object just takes incoming numbers (0-255 I think) and sends them out a "com port." Serial input isn't handled at all. Look in u_main.tk to see how the serial port is initialized (and change the code as needed...)
I am writing a rough serial object for unix pd (its not really ready):
ftp://iem.kug.ac.at/pd/Externals/wr/comport/
it could be adapted for NT.
A problem is the polling:
a) It would be nice if there is a general select somewhere in the pd loop which also recognizes the a serial input like MIDI does. which means that it should be in s_linux.c
b) or should I make a 0 time clock
c) or just use non-blocking read and waiting for a read bang on the input...
... any suggestion ...
(We need it for the head tracker (flock of birds)).
mfg winfried