Need help for a new project program

both moves the same engines, in analog or digital form, depending on switch position.