From 20fbc3a6bb7622e20956b5f6d7699755ed49e7e4 Mon Sep 17 00:00:00 2001 From: Wasabi Fan Date: Sat, 7 Jan 2017 07:22:40 -0800 Subject: [PATCH] Add note about proper BrickPi import to README --- README.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.rst b/README.rst index b79fa6c..30eb3aa 100644 --- a/README.rst +++ b/README.rst @@ -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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~