Retrieve a two-byte time value from a digital I/O pin state-transition timer.

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 DigitalIoTime ReadDigitalIoTimer(
	byte iicAddress,
	DigitalIoTimerId digitalIoTimerId,
	bool sendReplyToHost,
	bool sendReplyToReflex
)
Visual Basic (Declaration)
Public Shared Function ReadDigitalIoTimer ( _
	iicAddress As Byte, _
	digitalIoTimerId As DigitalIoTimerId, _
	sendReplyToHost As Boolean, _
	sendReplyToReflex As Boolean _
) As DigitalIoTime
Visual C++
public:
static DigitalIoTime^ ReadDigitalIoTimer(
	unsigned char iicAddress, 
	DigitalIoTimerId digitalIoTimerId, 
	bool sendReplyToHost, 
	bool sendReplyToReflex
)

Parameters

iicAddress
Type: System..::.Byte
The address of the IIC module referenced by the packet.
digitalIoTimerId
Type: Bespoke.Robotics.BrainStem..::.DigitalIoTimerId
The digital IO timer to read from.
sendReplyToHost
Type: System..::.Boolean
The BrainStem will send a reply packet to the host.
sendReplyToReflex
Type: System..::.Boolean
The value will go directly to a reflex routine within the BrainStem.

Return Value

DigitalIoTime object.

Exceptions

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

See Also