Configure 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 ConfigureDigitalIoPin(
	byte iicAddress,
	DigitalIoPinConfiguration configuration
)
Visual Basic (Declaration)
Public Shared Sub ConfigureDigitalIoPin ( _
	iicAddress As Byte, _
	configuration As DigitalIoPinConfiguration _
)
Visual C++
public:
static void ConfigureDigitalIoPin(
	unsigned char iicAddress, 
	DigitalIoPinConfiguration^ configuration
)

Parameters

iicAddress
Type: System..::.Byte
The address of the IIC module referenced by the packet.
configuration
Type: Bespoke.Robotics.BrainStem..::.DigitalIoPinConfiguration
The new configuration of the digital IO pin.

Exceptions

ExceptionCondition
System..::.ArgumentNullExceptionThrown if configuration is null.
Bespoke.Robotics.BrainStem.Exceptions..::.CommandExceptionThrown if there's an error processing the command.

See Also