help with turning light/flasher lights simulation

How can I simulate the turning off and on lights such as a turning signal or flashers on a car

thanks

SolidworksSimulation