I need help to understand the debouncer and how integrate in my program and, I don’t know if the two thing are related, but I also need help to make work a function after a button is pressed.
The biggest problem that I have it is with the set and reset function. When i change the the status of setPin or resetPin the status of outUpPin and outDownPin doesn’t change. I tried to program a debouncer function because I thought the problem was the uncertainty of the status. but probably this gave more error than what it solved…
I attached my code as reference and sorry for the many error in this post but english it’s not my primary language!
Code.txt (8.73 KB)