For example if you really meant
a PWM there are a lot example of PWM in this groups files.
It occurs to me ... there is every possibility that someone who needs to
use an Arduino computer to generate a stream of pulses, may not even know
what a PWM means.
Andy