Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,19 @@ paste the code into your session.
Required: Import the library
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

If you are using an EV3 brick (which is the case for most users), add the
following to the top of your file:

.. code-block:: python

import ev3dev.ev3 as ev3

If you are using a BrickPi, use this line:

.. code-block:: python

import ev3dev.brickpi as ev3

Controlling the LEDs with a touch sensor
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down