Sets the device connected to this Port.
This is only needed for devices that cannot be fully automatically detected, such as Analog/NXT sensors.
The device name must match a driver name or no driver will be bound to the device.
device |
The name of the device/driver. |
Error |
if setting the device failed. |