a lighting device provides with a mechanism which rotates , oscillates or rolls a lighting unit , and includes a power source , a trigger , a lighting unit and a motor , wherein the power source supplies power to the lighting unit and the motor via the trigger . the lighting device further includes a control unit which is connected in parallel to the lighting device . by changing internal circuits of the control unit , a pins which connects to an energy storage element is set , therefore the lighting unit flashes in a predetermined sequence after interruption of power is resumed , and the lighting unit moves in a certain track , occurring a path in which position of light spots changed .