Define Sensor Command - cloudthrottle/dcc-ex--commands GitHub Wiki

Usage

const options = {
    sensor: 12,
    pin: 1234,
    pullUp: 1
}

defineSensorCommand(options)
// returns '<S 12 1234 1>'
⚠️ **GitHub.com Fallback** ⚠️