iodevices – 自定义设备

此模块包含用于通用与自定义输入/输出设备的类。

无线设备

❌ ✅ ✅ ✅ ✅ ✅ ✅
类 XboxController(Xbox 控制器)
../_images/xboxcontroller.png

LEGO 协议设备

❌ ✅ ✅ ✅ ✅ ✅ ✅
类 LWP3Device(LWP3 设备)
../_images/hub-lwp3.png
❌ ✅ ✅ ✅ ✅ ✅ ✅
类 LUMPDevice(LUMP 设备)
../_images/iodevice-rj12green.png
❌ ✅ ✅ ✅ ✅ ✅ ✅
类 PUPDevice(PUP 设备)
../_images/iodevice-pupdevice.png

通用协议

❌ ✅ ✅ ✅ ✅ ✅ ✅
类 UARTDevice(UART 设备)

uart-wired uart-wireless

❌ ✅ ✅ ✅ ✅ ✅ ✅
类 I2CDevice(I2C 设备)
../_images/iodevice-rj12cyan.png
❌ ✅ ✅ ✅ ✅ ✅ ✅
类 AnalogSensor(模拟传感器)
../_images/iodevice-rj12brown.png
❌ ✅ ✅ ✅ ✅ ✅ ✅
类 DCMotor(直流马达)
../_images/iodevice-dcmotor.png