Hello, I need help using a new component I bought recently.
I'm trying to make a football goal that counts everytime the ball goes in. The problem is that I have no idea how to program the counter as it's the first time I use one.
As I have understood, there are to functions on the counter: the clear, that resets it to 0 and the ADD that adds 1 to the count.
I understand how it works, but I have no idea on how to make the proper Arduino program to make it work.
I'd like to know if I need to use any certain library or the are some methods to use it.
Instead of using knobs K1 and K2 you should connect this wires to the arduino pins. The pins should be pulled up normally. Output LOW to the K1 pin, you can increment the counter, output LOW to K2 will clean the display.
By the way, as @PaulRB stated - why do you think that you need an arduino to use the counter?
Please describe the whole project in detail
I tried to use it with Arduino because I tried to implement the counter with a laser so when the laser detects the ball, it would add 1 to the counter. So I thought that there was an specific way to do it because i have worked with LCD displays and thought it would be similar.
My problem has changed now as when i try to use a code in the arduino, the counter goes up when discconnecting and connecting the wire from the pin, it ignores the code