Define Servo Turnout Command - cloudthrottle/dcc-ex--commands GitHub Wiki

Usage

const options = {
    turnout: 12,
    pin: 100,
    thrownPosition: 410,
    closedPosition: 205,
    profile: 0
}

defineServoTurnoutCommand(options)
// returns '<T 12 SERVO 100 410 205 0>'
⚠️ **GitHub.com Fallback** ⚠️