MCPcopy Create free account
hub / github.com/ForestHubAI/edge-agents / NewWritePinDAC

Function NewWritePinDAC

go/engine/node/pinwrite.go:55–61  ·  view source on GitHub ↗

NewWritePinDAC builds a WritePin bound to a DAC output channel.

(id string, value workflow.Expression, dac *channel.DAC)

Source from the content-addressed store, hash-verified

53 }
54}
55
56// NewWritePinPWM builds a WritePin bound to a PWM output channel.
57func 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected