Skip to main content

DigitalWire

DigitalWire

Overview needed


Constructor

public DigitalWire

new DigitalWire(input, output)

*Description needed*

Parameters

  •  input: OutputPortDescription needed

  •  output: InputPortDescription needed


Properties

No publicly accessible properties on DigitalWire

protected p1: OutputPort

Description needed

protected p2: InputPort

Description needed

private isOn: false | true

Description needed


Methods

public activate

activate(signal) => void

Description needed

Parameters

  •  signal: false | trueDescription needed

public canConnectTo

canConnectTo(port) => false | true

Description needed

Parameters

  •  port: PortDescription needed

Returns

  •   false | trueDescription needed

public split

split() => DigitalNode

Description needed

Returns

public getInput

getInput() => OutputPort

Description needed

Returns

  •   OutputPortDescription needed

public getInputComponent

getInputComponent() => DigitalComponent

Description needed

Returns

public getOutput

getOutput() => InputPort

Description needed

Returns

  •   InputPortDescription needed

public getOutputComponent

getOutputComponent() => DigitalComponent

Description needed

Returns

public getDisplayColor

getDisplayColor() => string

Description needed

Returns

  •   stringDescription needed

public getIsOn

getIsOn() => false | true

Description needed

Returns

  •   false | trueDescription needed

Static Methods

No static methods for DigitalWire