diff options
-rw-r--r-- | plugins/arduino/arduino.py | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/plugins/arduino/arduino.py b/plugins/arduino/arduino.py index 01e0595..747d2b0 100644 --- a/plugins/arduino/arduino.py +++ b/plugins/arduino/arduino.py @@ -39,7 +39,22 @@ class Arduino(Plugin): # plugin class def __init__(self, parent): self._parent = parent - self._status = False + self._status = False + + """ + The following code will initialize a USB-arduino connection . Please note that + in order to make this initialization function work, it is necessary to + set the permission for the ttyUSB device to 0666. You can do this by + adding a rule to /etc/udev/rules.d + + As root (using sudo or su), copy the following text into a new file in + /etc/udev/rules.d/94-ttyUSB-rules + + KERNEL=="ttyUSB[0-9]",MODE="0666" + + You only have to do this once. + + """ def setup(self): # set up Arduino-specific blocks |