三线扩展器#
介绍#
The triport class is used to configure a 3-Wire Expander, allowing additional 3-Wire ports to be used with the V5 Brain.
类构造函数#
triport(
int32_t index );
类析构函数#
Destroys the triport object and releases associated resources.
virtual ~triport();
参数#
范围 |
类型 |
描述 |
|---|---|---|
|
|
The Smart Port that the 3-Wire Expander is connected to, written as |
示例#
// Create a triport instance in Port 1.
triport Expander1 = triport(PORT1);