Write an output bit to a digital IO pin.

Namespace:  Bespoke.Robotics.BrainStem
Assembly:  Bespoke.Robotics.BrainStem (in Bespoke.Robotics.BrainStem.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
public static void WriteDigitalOutput(
	byte iicAddress,
	DigitalIoPinType digitalIoPin,
	bool value
)
Visual Basic (Declaration)
Public Shared Sub WriteDigitalOutput ( _
	iicAddress As Byte, _
	digitalIoPin As DigitalIoPinType, _
	value As Boolean _
)
Visual C++
public:
static void WriteDigitalOutput(
	unsigned char iicAddress, 
	DigitalIoPinType digitalIoPin, 
	bool value
)

Parameters

iicAddress
Type: System..::.Byte
The address of the IIC module referenced by the packet.
digitalIoPin
Type: Bespoke.Robotics.BrainStem..::.DigitalIoPinType
The digital IO pin to send the output to.
value
Type: System..::.Boolean
The output to send to the digital IO pin.

Exceptions

ExceptionCondition
Bespoke.Robotics.BrainStem.Exceptions..::.CommandExceptionThrown if there's an error processing the command.

See Also