Theoretically, could I connect a variable resistor with the center set as neutral push forward to go forward and back to go back. Connect that to an rpi connect that to a variable switch connected to say an externally powered motor such as a washing machine motor.
Is this possible?
I have a huge project I want a lever to drive a motor the further I push the lever to go faster, and pull the lever back to go backwards. The motor will be powered separately from the rpi.