"""LPF2 device-type identifiers (LWP ``IOTypeID``).
Values returned by :meth:`lpf2.port.getDeviceType` and matched against
by the device factories.
"""
"""No device / unrecognised type."""
[docs]
SIMPLE_MEDIUM_LINEAR_MOTOR: int = 1
"""Simple medium linear motor (WeDo, Boost)."""
"""Powered-Up train motor."""
"""Powered-Up light."""
[docs]
VOLTAGE_SENSOR: int = 20
"""Hub voltage sensor."""
[docs]
CURRENT_SENSOR: int = 21
"""Hub current sensor."""
"""Piezo buzzer."""
"""Hub built-in RGB LED."""
"""WeDo tilt sensor."""
[docs]
MOTION_SENSOR: int = 35
"""WeDo motion sensor."""
[docs]
COLOR_DISTANCE_SENSOR: int = 37
"""Boost color & distance sensor."""
[docs]
MEDIUM_LINEAR_MOTOR: int = 38
"""Boost medium linear motor."""
[docs]
MOVE_HUB_MEDIUM_LINEAR_MOTOR: int = 39
"""Boost Move Hub built-in medium linear motor."""
[docs]
MOVE_HUB_TILT_SENSOR: int = 40
"""Boost Move Hub built-in tilt sensor."""
[docs]
DUPLO_TRAIN_BASE_MOTOR: int = 41
"""Duplo train base motor."""
[docs]
DUPLO_TRAIN_BASE_SPEAKER: int = 42
"""Duplo train base speaker."""
[docs]
DUPLO_TRAIN_BASE_COLOR_SENSOR: int = 43
"""Duplo train base colour sensor."""
[docs]
DUPLO_TRAIN_BASE_SPEEDOMETER: int = 44
"""Duplo train base speedometer."""
[docs]
TECHNIC_LARGE_LINEAR_MOTOR: int = 46
"""Technic Control+ large linear motor."""
[docs]
TECHNIC_XLARGE_LINEAR_MOTOR: int = 47
"""Technic Control+ XL linear motor."""
[docs]
TECHNIC_MEDIUM_ANGULAR_MOTOR: int = 48
"""Technic Control+ medium angular motor."""
[docs]
TECHNIC_LARGE_ANGULAR_MOTOR: int = 49
"""Technic Control+ large angular motor."""
[docs]
TECHNIC_MEDIUM_HUB_GEST_SENSOR: int = 54
"""Technic medium hub built-in gesture sensor."""
"""Powered-Up remote control button pair."""
"""Powered-Up remote control RSSI sensor."""
[docs]
TECHNIC_MEDIUM_HUB_ACCELEROMETER: int = 57
"""Technic medium hub built-in accelerometer."""
[docs]
TECHNIC_MEDIUM_HUB_GYRO_SENSOR: int = 58
"""Technic medium hub built-in gyroscope."""
[docs]
TECHNIC_MEDIUM_HUB_TILT_SENSOR: int = 59
"""Technic medium hub built-in tilt sensor."""
[docs]
TECHNIC_MEDIUM_HUB_TEMPERATURE_SENSOR: int = 60
"""Technic medium hub built-in temperature sensor."""
[docs]
TECHNIC_COLOR_SENSOR: int = 61
"""Technic colour sensor."""
[docs]
TECHNIC_DISTANCE_SENSOR: int = 62
"""Technic distance sensor."""
[docs]
TECHNIC_FORCE_SENSOR: int = 63
"""Technic force sensor."""
[docs]
MARIO_HUB_GESTURE_SENSOR: int = 71
"""Mario hub gesture sensor."""
[docs]
MARIO_HUB_BARCODE_SENSOR: int = 73
"""Mario hub barcode sensor."""
[docs]
MARIO_HUB_PANT_SENSOR: int = 74
"""Mario hub pants sensor."""
[docs]
TECHNIC_MEDIUM_ANGULAR_MOTOR_GREY: int = 75
"""Technic grey medium angular motor."""
[docs]
TECHNIC_LARGE_ANGULAR_MOTOR_GREY: int = 76
"""Technic grey large angular motor."""