you could start with
ARDUINO 1.0
FILE / EXAMPLES / COMMUNICATION / DIMMER
if you need more options for commands from TERMINAL
pls see a small MENU system
with setpoint input example
( but no dimmer code )
one character input menu
can start
ONE SHOT JOB or CONTI JOBs ( semiparallel )
kllsamui:
you could start with
ARDUINO 1.0
FILE / EXAMPLES / COMMUNICATION / DIMMER
if you need more options for commands from TERMINAL
pls see a small MENU system
with setpoint input example
( but no dimmer code )
one character input menu
can start
ONE SHOT JOB or CONTI JOBs ( semiparallel )
Yeah, I was already in that example..
anyway, I figured it out, so far using the command (in terminal)
echo "\xff" > /dev/tty.DEVICEID
to turn it on or
echo "\x00\c" > /dev/tty.DEVICEID
to turn it off
however, this only works when I open the serial communicator in the IDE first..