Servo help
I’m trying to make a sort of driving simulator for a class using arduinos and servos, and I’m having a couple issues I just can’t seem to figure out. I want the servo associated with “RPM” to reset back to original position on a button press (simulating shifting up) but it either stays at that position and won’t increment or constantly goes to max and then back down immediately. The other issue I’m having is with the actual simulating gear shifting I can get the value to increment fine and it works, but when I put in the same kind of code to decrement on a different button press the value skips to max/min instead of cycling through each value. Does anyone have any kind of advice or fix they have done in the past that is similar to these issues?