Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: Set gpio direction failed, missing file or invalid permissions. #359

Open
ajayavgarde opened this issue Apr 5, 2022 · 0 comments

Comments

@ajayavgarde
Copy link

debian@beaglebone:~$ sudo /opt/scripts/tools/version.sh
git:/opt/scripts/:[4dd50b306e4eb31a05bb72a9573febc3695f1f05]
eeprom:[A335BNLT00C02151SBB37547]
dogtag:[BeagleBoard.org Debian Image 2017-03-19]
bootloader:[/dev/mmcblk1]:[U-Boot 2017.03-00002-gd12b1519b4]
kernel:[4.4.54-ti-r93]
nodejs:[v4.8.0]
device-tree-override:[dtb=am335x-boneblack-emmc-overlay.dtb]

THIS IS MY PYTHON CODE
import Adafruit_BBIO.GPIO as GPIO
import time
GPIO.setup("P8_10",GPIO.OUT)

IF I RUN THIS
File "blink.py", line 3, in
GPIO.setup("P8_10",GPIO.OUT)
ValueError: Set gpio direction failed, missing file or invalid permissions.

I GET THIS ERROR HOW TO RESOLVE THIS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant