Crikey, that's really cool... didn't know that.  Will definitely have to take 
advantage of it.

Cheers
Evan

On 3 Mar 2011, at 21:17, Kassen wrote:

> 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. 

Reply via email to