ESP 21 controlling servo motors through a web server

So I have been working based off of the code from ESP32 Web Server - Arduino IDE | Random Nerd Tutorials but exchanging LED's in the tutorial with servo motors. The issue I'm having is that when I connect my EPS32 to the servo motors and I try to turn all of the motors to the "on" position, all of the motors change their position instead of just the final motor that needs to be turned on.

web_server.ino (7.05 KB)

e10eqs:
I try to turn all of the motors to the "on" position, all of the motors change their position instead of just the final motor that needs to be turned off.

Makes no sense. If you try to turn all the motors on why would you expect one of them to be turned off?

Steve

Oops, you are correct, I meant to say turned to the "on" position