mirror of
https://github.com/xtacocorex/CHIP_IO
synced 2025-07-20 04:43:21 +00:00
Updating the README to mention running with super user permissions, adding sudo in front of py.test to help with issues found in issue #8
This commit is contained in:
@ -17,6 +17,8 @@ Manual::
|
|||||||
|
|
||||||
Using the library is very similar to the excellent RPi.GPIO library used on the Raspberry Pi. Below are some examples.
|
Using the library is very similar to the excellent RPi.GPIO library used on the Raspberry Pi. Below are some examples.
|
||||||
|
|
||||||
|
All scripts that require GPIO access need to be run with super user permissions!
|
||||||
|
|
||||||
**GPIO Setup**
|
**GPIO Setup**
|
||||||
|
|
||||||
Import the library, and setup as GPIO.OUT or GPIO.IN::
|
Import the library, and setup as GPIO.OUT or GPIO.IN::
|
||||||
@ -116,7 +118,7 @@ Install py.test to run the tests. You'll also need the python compiler package f
|
|||||||
|
|
||||||
Execute the following in the root of the project::
|
Execute the following in the root of the project::
|
||||||
|
|
||||||
py.test
|
sudo py.test
|
||||||
|
|
||||||
**Credits**
|
**Credits**
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user