you could start with ARDUINO 1.0FILE / EXAMPLES / COMMUNICATION / DIMMERif you need more options for commands from TERMINALpls see a small MENU system with setpoint input example( but no dimmer code )one character input menu can startONE SHOT JOB or CONTI JOBs ( semiparallel )
echo "\xff" > /dev/tty.DEVICEID
echo "\x00\c" > /dev/tty.DEVICEID
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16