A circuit for controlling a plurality of light-emitting devices disposed
on an object in a sequence includes a water-proof enclosure embedded in
the object, a motion actuated switch, a controller, and a battery. The
motion actuated switch is mounted within the enclosure, for triggering
the controller in response to a motion of the object. Moreover, the
controller is mounted within the enclosure, and electrically connected to
the motion actuated switch and electrically connected to the
light-emitting devices respectively, for driving the light-emitting
devices lighting in a predetermined way when triggered by the motion
actuated switch. Furthermore, the battery is mounted within the
enclosure, for supplying the circuit with electrical power.