Hello. I am working on a two-motor joystick controller (pan/tilt)
I have the design working with two potentiometer joystick. This will need to be switched over to a hall effect, but doing baby steps.
What I am needing help with is right now the joystick works by a variable speed as the joystick is used, like normal. I have two switches I need to adjust the speed as well.
So in switch1(A2), I want the motors to turn at one speed, but have the joystick control the direction (forward/reverse) but not the speed, I want to be able to define the speed when switch 1 is high, or Vcc. then have it operate a different speed when switch 2 (A3) is high, or Vcc.
I have enclosed a .docx file that shows the schematic and code.