Skip to content

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

@ajayavgarde

Description

@ajayavgarde

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy