Onmousedown(); -> loop in a up/down command towards the arduino
OnMouseUp(); -> do nothing really
or Mouseover(); -> if you don't want to push the button.
I made a perf board with the relais on them and then wire the light from there and use 2x0,8mm cable to connect the switches so they can be used to...
so i made my own "protoshield" with almost everyting on it.
btw i finished the beamer turning on and the lights going off
its really nice
Add automatic curtains