NewWritePinDAC builds a WritePin bound to a DAC output channel.
(id string, value workflow.Expression, dac *channel.DAC)
| 53 | } |
| 54 | } |
| 55 | |
| 56 | // NewWritePinPWM builds a WritePin bound to a PWM output channel. |
| 57 | func NewWritePinPWM(id string, value *workflowapi.Expression, toolDescription string, pwm *channel.PWM) *WritePin { |
| 58 | return &WritePin{ |
| 59 | LinearNode: engine.NewLinearNode(id), |
| 60 | value: value, |
| 61 | toolDescription: toolDescription, |
| 62 | pwm: pwm, |
| 63 | } |
| 64 | } |
nothing calls this directly
no outgoing calls
no test coverage detected