Applescripts controlling arduino

I’m trying to make an applescript to control an arduino over a serial port.

For example have the applescript send an “H” over a serial port with an arduino on it with 9600 bps. And then have the arduino respond to that “H” by turning on a LED, or something.

Any ideas?

Thanks,
Elijah

If you can talk to the Arduino via Terminal, you can Applescript it.

http://arduino.cc/en/Reference/Firmata