Is it possible to switch a relay from a pulse generator?

And how?

I want to create an oscillating switch.
2 answers 2