Best way to connect Photodiode to get Boolean result?

Hi,
first of all I suggest you read the topic:

Then help us to help you:
Inform which arduino is using;
What is your sketch;
What sensors are using;
The eletronic schematic.
What is "Nerf ammo counter."; etc etc ....
The more information you provide us with, the better our help will be.

RV mineirin