Source code for lpf2.port_num.duplotrain

"""Port numbers for the Duplo Train base hub."""

[docs] MOTOR: int = 0x00
"""Built-in train motor."""
[docs] LED: int = 0x11
"""Built-in hub LED."""
[docs] SPEAKER: int = 0x01
"""Built-in speaker."""
[docs] COLOR: int = 0x12
"""Built-in colour sensor."""
[docs] SPEEDOMETER: int = 0x13
"""Built-in speedometer."""
[docs] VOLTAGE: int = 0x14
"""Built-in voltage sensor."""