[PD] numberstream, parsing

B. Bogart ben at ekran.org
Sat Oct 15 22:37:35 CEST 2005


Bother Marc Lavallee about "ascii" that does both the input and output
parsing! for commport (and perhaps others)

b.


> Hi list,
>
> I built a little something on a pic, that sends data over rs232.
> in pd, I can read that data using the [comport] object (great stuff!)
> I'm reading a number of turn-knobs and so I output 5 numbers that have
> to be sorted.
> by sending the stream as 'ascii'
> ( I send ascii corresponding number, including linefeed, carriage return
> etc. )
> I can perfectly read the stuff in terminal programs, or by doing cat
> /dev/ttyS0
>
> This is a bit hard in pd, I haven't figured out a way to do this
> 'elegantly'
>
> anyone have some suggestions? preferably I would have something that
> would see it as 'ascii' ...?
>
> this the idea:
>
> [comport]
> |
> [parser]
> |
> [unpack 0 0 0 0 0 0 0 0]
>
> it's gotta be trivial isn't it? some external somewhere?
>
> bye!
>
> Matthijs.
>
>
> _______________________________________________
> 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