hi speed event detection

Hi,
try this
http://www.arduino.cc/en/Reference/AttachInterrupt
Eberhard