I'm trying to run a simple timing circuit, whereby the Raspberry Pi will time how long it takes for a product to go through a sensor and then stop when another sensor is activated.
I'm new to this so any help on the coding would be greatly appreciated. Thanks