-
Notifications
You must be signed in to change notification settings - Fork 220
Description
-
Platform/operating system (i.e. Raspberry Pi with Raspbian operating system,
Windows 32-bit, Windows 64-bit, Mac OSX 64-bit, etc.): Beaglebone Black/Debian 8.9 -
Python version (run
python -version
orpython3 -version
): python 2.7.9 -
Error message you are receiving, including any Python exception traces: Traceback (most recent call last):
File "kk.py", line 3, in
GPIO.setup("P8_7", GPIO.OUT)
ValueError: Set gpio value failed, missing file or invalid permissions.*
syslog message:
"beaglebone python[2434]: gpio_set_value: 66 couldn't open '/sys/class/leds/red/brightness': 2-No such file or directory
" -
List the steps to reproduce the problem below (if possible attach code or commands
to run): **run following python snippet:1 import Adafruit_BBIO.GPIO as GPIO
2
3 GPIO.setup("P8_7", GPIO.OUT)
4 GPIO.cleanup()
**