lpf2.device_type
LPF2 device-type identifiers (LWP IOTypeID).
Values returned by lpf2.port.getDeviceType() and matched against
by the device factories.
Attributes
Boost color & distance sensor. |
|
Hub current sensor. |
|
Duplo train base colour sensor. |
|
Duplo train base motor. |
|
Duplo train base speaker. |
|
Duplo train base speedometer. |
|
Hub built-in RGB LED. |
|
Powered-Up light. |
|
Mario hub barcode sensor. |
|
Mario hub gesture sensor. |
|
Mario hub pants sensor. |
|
Boost medium linear motor. |
|
WeDo motion sensor. |
|
Boost Move Hub built-in medium linear motor. |
|
Boost Move Hub built-in tilt sensor. |
|
Piezo buzzer. |
|
Powered-Up remote control button pair. |
|
Powered-Up remote control RSSI sensor. |
|
Simple medium linear motor (WeDo, Boost). |
|
Technic colour sensor. |
|
Technic distance sensor. |
|
Technic force sensor. |
|
Technic Control+ large angular motor. |
|
Technic grey large angular motor. |
|
Technic Control+ large linear motor. |
|
Technic Control+ medium angular motor. |
|
Technic grey medium angular motor. |
|
Technic medium hub built-in accelerometer. |
|
Technic medium hub built-in gesture sensor. |
|
Technic medium hub built-in gyroscope. |
|
Technic medium hub built-in temperature sensor. |
|
Technic medium hub built-in tilt sensor. |
|
Technic Control+ XL linear motor. |
|
WeDo tilt sensor. |
|
Powered-Up train motor. |
|
No device / unrecognised type. |
|
Hub voltage sensor. |
Module Contents
- lpf2.device_type.MOVE_HUB_MEDIUM_LINEAR_MOTOR: int = 39[source]
Boost Move Hub built-in medium linear motor.
- lpf2.device_type.SIMPLE_MEDIUM_LINEAR_MOTOR: int = 1[source]
Simple medium linear motor (WeDo, Boost).
- lpf2.device_type.TECHNIC_LARGE_ANGULAR_MOTOR: int = 49[source]
Technic Control+ large angular motor.
- lpf2.device_type.TECHNIC_LARGE_ANGULAR_MOTOR_GREY: int = 76[source]
Technic grey large angular motor.
- lpf2.device_type.TECHNIC_MEDIUM_ANGULAR_MOTOR: int = 48[source]
Technic Control+ medium angular motor.
- lpf2.device_type.TECHNIC_MEDIUM_ANGULAR_MOTOR_GREY: int = 75[source]
Technic grey medium angular motor.
- lpf2.device_type.TECHNIC_MEDIUM_HUB_ACCELEROMETER: int = 57[source]
Technic medium hub built-in accelerometer.
- lpf2.device_type.TECHNIC_MEDIUM_HUB_GEST_SENSOR: int = 54[source]
Technic medium hub built-in gesture sensor.
- lpf2.device_type.TECHNIC_MEDIUM_HUB_GYRO_SENSOR: int = 58[source]
Technic medium hub built-in gyroscope.
- lpf2.device_type.TECHNIC_MEDIUM_HUB_TEMPERATURE_SENSOR: int = 60[source]
Technic medium hub built-in temperature sensor.