Arduino on off switch for LEDS
I'm about to do a project that involves using Arduino to create an LED 'chase' effect. However I want the 'chase' to be triggered when someone removes an object from the switch. For example the lights would be on and running with a small rock (or similar) holding down a switch which then goes into the off position when the weight is removed. I can create a chase and I can operate the switch but I need help in writing the code that will combine these two features in to one event.
Any suggestions, esp help with code will be warmly welcomed.