Expansor de 3 cables#

Introducción#

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

Constructor de clases#

triport( 
  int32_t index );

Instructor de clase#

Destroys the triport object and releases associated resources.

virtual ~triport();

Parámetros#

Parámetro

Tipo

Descripción

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).

Ejemplos#

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