[PD] string with comma to comport
IOhannes m zmölnig
zmoelnig at iem.at
Sat Aug 5 10:03:49 CEST 2006
olsen wrote:
> hi list
> i like to control one of those parallax servo controllers. therefore i
> thought to send the data via the comport object to the controller. the
> controller syntax isoue:
> "!SC", Channel, Ramp, pw.LOWBYTE, pw.HIGHBYTE, $0D.
> as "!SC" is the header, $0D the terminator and the other integers, the
> desired 'message' should look like this ["!SC",1,2,250,750,CR]
> but how could i get pd to send this string to the comport?
> ev'rything i tried separates messages on the comma...
> any idea around?
you can generate a symbol with virtually any _ASCII_ character with
[makefilename %c] (you have to know the ASCII-code of the character)
with a series of [set ...( messages to [makefilename] you could create
your "weird" symbol. (a simpler way might be the use of zexy's
[list2symbol] with a delimiter ",")
mfga.sdr
IOhannes
More information about the Pd-list
mailing list