See Arduino Playground - LinuxTTY if you're trying to script it.
Other language examples are listed on Arduino Playground - InterfacingWithSoftware
See Arduino Playground - LinuxTTY if you're trying to script it.
Other language examples are listed on Arduino Playground - InterfacingWithSoftware