3-Wire Expander#

Introduction#

The triport class is used to configure a 3-Wire Expander, allowing additional 3-Wire ports to be used with the V5 Brain.

Class Constructor#

triport( 
  int32_t index );

Class Destructor#

Destroys the triport object and releases associated resources.

virtual ~triport();

Parameters#

Parameter

Type

Description

index

int32_t

The Smart Port that the 3-Wire Expander is connected to, written as PORTx, where x is the port number (for example, PORT1).

Examples#

// Create a triport instance in Port 1.
triport Expander1 = triport(PORT1);