High speed photogate readings and hardware interrupts (Help Needed)

A suggestion. Write a test program that does nothing else but read the photosensor and light an LED for a short period when it detects a dart passing. Does it work OK ?