[PD] remove commas from list, logic of make_my_list

IOhannes m zmoelnig zmoelnig at iem.at
Mon Mar 25 09:22:27 CET 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2013-03-24 04:45, David Welch wrote:
> Hi all, I'm working on a patch that is getting a stream of comma
> separated values from an Arduino device. Is there an easy way to
> remove them? Right now I am using the comport object and associated
> objects. I have modified the

the arduino sends the data via a servial line, so somewhere inside the
[arduino] object you find a [comport] that will output the bytes as
they are received. just replace the "," (byte value 44) with something
more easily readable, e.g. " " (byte value 32).

another simple solution would be to use a different firmware on the
arduino, that uses space as a delimiter, rather than commas.


gfadmsr
IOhannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlFQCUMACgkQkX2Xpv6ydvQcQACgg4aeKFn5qylVD0w+/Rsz2n1R
j0UAn0IfIL2TT1NCkVyC5xdsllRcvS8I
=mJu9
-----END PGP SIGNATURE-----



More information about the Pd-list mailing list