Skip to content

Commit d1e4b81

Browse files
WasabiFandwalton76
authored andcommitted
Add note about proper BrickPi import to README (#283)
1 parent 798cad1 commit d1e4b81

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,19 @@ paste the code into your session.
5757
Required: Import the library
5858
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5959

60+
If you are using an EV3 brick (which is the case for most users), add the
61+
following to the top of your file:
62+
6063
.. code-block:: python
6164
6265
import ev3dev.ev3 as ev3
6366
67+
If you are using a BrickPi, use this line:
68+
69+
.. code-block:: python
70+
71+
import ev3dev.brickpi as ev3
72+
6473
Controlling the LEDs with a touch sensor
6574
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6675

0 commit comments

Comments
 (0)