The problem is i need to first detect a pulse in a digital input, then send a single pulse of 0,5 milliseconds. The delay between both events is between 2 and 8 milliseconds.