does anyone have any code for making a chorometer using a couple of leds and detectors for a break beam start and finish?