[Fluxus] Fluxus and Arduino

Kassen signal.automatique at gmail.com
Thu Mar 3 13:17:20 PST 2011


Dave;

It's reading from the serial port and sending messages on to xmpp

> (jabber) which you can strip out.
>
> It's basically just:
>
> (define serial (open-input-file "/dev/tty.usbserial-A9007Lgy"))
>
> Which you need to point at the serial device you can find in the
> processing ide, and reading it with:
>
> (read-line serial)
>
>
Very nice! In retrospect I shouldn't be especially happy about this as it's
more or less obvious that we can, from a Unix perspective where all things
are really files, but this is cool. This quite likely needs a note in the
manual.

Yours,
Kas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pawfal.org/pipermail/fluxus-pawfal.org/attachments/20110303/6f2b2ad9/attachment.html>


More information about the Fluxus mailing list