... I'm using a timer- or external-interrupt for starting the ON time and then "delayMicroseconds(pulse_high);" with a variable smaller than the timer base for the pulse duration ... this is precise enough for pulsing frequencies of up to 200kHz.
↧