On Sat, Oct 15, 2005 at 07:36:53PM +0200, Matthijs van Henten wrote:
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' ...?
sounds like you wwant the any2ascii/ascii2any externals...in CVS
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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list