Modified this piece as part of a chronograph project.
Instructions for making a Nerf chronograph are at https://www.instructables.com/id/Arduino-for-Nerf-Chronograph-and-Shot-Counter/