How fast and stable can arduno trigger digital IOs?

If you're looking for 2ms pulse width you may find delayMicroseconds more to your liking (http://arduino.cc/en/Reference/DelayMicroseconds) or
you may want to avoid using delay and just loop checking micros() to see if the pin needs pulsing. The other thing to be aware of is that digitalWrite() takes quite a while, if you want a faster response you may need to manipulate the port directly.