Source code for lpf2.port_num.poweredup

"""Port numbers for the Powered-Up 2-port hub."""

[docs] A: int = 0x00
"""External port A."""
[docs] B: int = 0x01
"""External port B."""
[docs] LED: int = 0x32
"""Built-in hub LED."""
[docs] CURRENT: int = 0x3B
"""Built-in current sensor."""
[docs] VOLTAGE: int = 0x3C
"""Built-in voltage sensor."""