.. pybricks-requirements:: pybricks-iodevices ble-extra

Duplo Train
^^^^^^^^^^^

.. autoclass:: pybricks.pupdevices.DuploTrain
  :no-members:

  .. automethod:: pybricks.pupdevices::DuploTrain.connect

  .. automethod:: pybricks.pupdevices::DuploTrain.disconnect

  .. automethod:: pybricks.pupdevices::DuploTrain.name

  .. automethod:: pybricks.pupdevices::DuploTrain.drive

  .. automethod:: pybricks.pupdevices::DuploTrain.headlights

  .. automethod:: pybricks.pupdevices::DuploTrain.sound

  .. automethod:: pybricks.pupdevices::DuploTrain.speed

  .. automethod:: pybricks.pupdevices::DuploTrain.color
