Help with a counter going up and down
OK so I have a direction combiner going into a counter so I can increase the count with the positive on the dir combiner and decrease the count with the negative. I'm increasing the count when one object touches another with an impact sensor, and I'm decreasing the counter with a button press from the controlinator.
The problem is if I press the button to decrease the count right before the impact occurs, what should happen is the counter goes down then back up, but what is happening is the counter goes down 2. It works as expected all other times except for when the positive is activated within an extremely short amount of time right after the negative. Since one is a button press and one is an impact, it's possible that they are even being activated at the exact same time, but because I'm relying on my eye hand coordination to see if one is activated first or they are at the same time, it's hard to tell sometimes. Any suggestions or is this just an unfortunate latency effect of the direction combiner and counter?