EV3 UART Device

Note

This class is only available on EV3.

../_images/sensor_rj12_green.png
class LUMPDevice(port)

Devices using the LEGO UART Messaging Protocol.

Parameters

port (Port) – Port to which the device is connected.

read(mode)

Reads values from a given mode.

Parameters

mode (int) – Device mode.

Returns

Values read from the sensor.

Return type

tuple