Επεκτατήρας 3 καλωδίων#

Εισαγωγή#

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

Ο επεκτατής 3 καλωδίων VEX EXP.

Κατασκευαστής κλάσης#

triport(
  int32_t index );

Καταστροφέας κλάσης#

Destroys the triport object and releases associated resources.

virtual ~triport();

Παράμετροι#

Παράμετρος

Τύπος

Περιγραφή

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

Παραδείγματα#

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