I am building a blinky light for my bicycle, and I would like it to turn off automatically when my bike is hung from the ceiling in my apartment. I am envisioning a tilt switch that closes in this position, and some supporting circuitry that requires the tilt switch to be closed for x amount of time before the light turns off.
I guess a simpler way of stating this problem would be to say I want to make a button that completes a circuit only after being held down for some time.
Any ideas? Thanks!