DigitalWire
DigitalWire
Overview needed
Constructor
public DigitalWire
new DigitalWire(input, output)
*Description needed*Parameters
input: OutputPort
– Description neededoutput: InputPort
– Description 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 | true
– Description needed
public canConnectTo
canConnectTo(port) => false | true
Description needed
Parameters
-
port: Port
– Description needed
Returns
-
false | true
– Description needed
public getInputComponent
getInputComponent() => DigitalComponent
Description needed
Returns
-
DigitalComponent
– Description needed
public getOutputComponent
getOutputComponent() => DigitalComponent
Description needed
Returns
-
DigitalComponent
– Description needed
public getDisplayColor
getDisplayColor() => string
Description needed
Returns
-
string
– Description needed
Static Methods
No static methods for DigitalWire