[PD] string with comma to comport
olsen
olsen at konsum.net
Sat Aug 5 12:05:57 CEST 2006
IOhannes m zmölnig wrote:
> 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 ",")
>
i tried that already but when i [symbol ,] to the cold inlet of [l2s]
the "," is ignored.
with the delimiter you mean this seperator for list elements?
thanks&greets
olsen
> mfga.sdr
> IOhannes
>
----
"Houston, we've had a problem here."
Jack Swingert April 11, 1970
___________________________________________________________
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de
More information about the Pd-list
mailing list