Object counter « counting box »

FC51 is actually the IR sensor (on the left on the picture). It receives the voltage from the computer, so 5V i believe.
It’s not a big issue, but it would be better to have a clean code.

Thx