Probably not quite what you are after - but it may give you some ideas as a starting point.
This was a project to drive a model racing car using Pulse Width Modulation (PWM) using a Wemos D1 Mini (flashed with ESPeasy) driven from a Node-RED flow. Note: ESPeasy also supports servo motors.