NewWritePinPWM builds a WritePin bound to a PWM output channel.
(id string, value workflow.Expression, pwm *channel.PWM)
| 44 | } |
| 45 | |
| 46 | // NewWritePinDigital builds a WritePin bound to a GPIO output channel. |
| 47 | func NewWritePinDigital(id string, value *workflowapi.Expression, toolDescription string, gpioout *channel.GPIOOutput) *WritePin { |
| 48 | return &WritePin{ |
| 49 | LinearNode: engine.NewLinearNode(id), |
| 50 | value: value, |
| 51 | toolDescription: toolDescription, |
| 52 | gpioout: gpioout, |
| 53 | } |
| 54 | } |
| 55 |
nothing calls this directly
no outgoing calls
no test coverage detected