An Arduino script for measuring speed of a B-Daman marble past a photosensor to a press-switch.