High speed photogate readings and hardware interrupts (Help Needed)