The natural choice for generating a pulse of variable frequency and duty cycle is a good bench-top pulse generator. If you don't have a generator or must build one into your system, however, you can ...