lpf2.port_expander
Port expanders: one port in, four ports out.
To use a real expander, plug it in and call hub.ports.A.device().getPort(0)
(see lpf2.devices.port_expander). This module lets you build a
pretend one.
Submodules
Classes
Advanced: a pretend port expander that combines up to four ports into one. |
Package Contents
- class lpf2.port_expander.virtual_port_expander_device[source]
Bases:
lpf2.virtual.deviceAdvanced: a pretend port expander that combines up to four ports into one.
Add ports with
attachPort(), then put it into alpf2.virtual.portorlpf2.local.emulated_port.Create an empty pretend expander.