Write an output bit to a digital IO pin.
Namespace:
Bespoke.Robotics.BrainStemAssembly: 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
Exception | Condition |
---|---|
Bespoke.Robotics.BrainStem.Exceptions..::.CommandException | Thrown if there's an error processing the command. |