diff --git a/doc/api/index.rst b/doc/api/index.rst index af622bb..077c8d5 100644 --- a/doc/api/index.rst +++ b/doc/api/index.rst @@ -23,6 +23,7 @@ Intro hubs pupdevices ev3devices + nxtdevices iodevices parameters tools diff --git a/doc/api/nxtdevices.rst b/doc/api/nxtdevices.rst new file mode 100644 index 0000000..92894e9 --- /dev/null +++ b/doc/api/nxtdevices.rst @@ -0,0 +1,10 @@ +:mod:`nxtdevices ` -- NXT Devices +====================================================== + +.. automodule:: pybricks.nxtdevices + :no-members: + +NXT Motor +^^^^^^^^^^^^^^^^ +This motor works just like a LEGO MINDSTORMS EV3 Large Motor. You can use it in +your programs using the :mod:`Motor <.ev3devices>` class. diff --git a/pybricks/nxtdevices.py b/pybricks/nxtdevices.py new file mode 100644 index 0000000..f468f48 --- /dev/null +++ b/pybricks/nxtdevices.py @@ -0,0 +1,2 @@ +"""Use LEGO® MINDSTORMS® NXT motors and sensors with the EV3 brick.""" +