Jump to content

Search the Community

Showing results for tags 'python-periphery'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements
  • Tinker Board 3N
    • General Discussion
    • Hardware
    • Software
  • Tinker V
    • General Discussion
  • Tinker Board 2 series
    • General Discussion
    • Hardware
    • Software
    • Android
  • Tinker Board / Tinker Board R2.0 series
    • General Discussion
    • Hardware
    • Software
    • Android
  • Tinker Edge T
    • General Discussion
    • Hardware
    • Software
  • Tinker Edge R
    • General Discussion
    • Hardware
    • Software
    • Android

Calendars

  • Community Calendar

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me

Found 1 result

  1. Hi I am new to this forum. I am trying to use python-periphery library to use the pins on the board. if I do : from periphery import GPIO gpio3 = GPIO(3,"in") I get the following error: Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/periphery/gpio.py", line 1017, in _open with open("/sys/class/gpio/export", "w") as f_export: PermissionError: [Errno 13] Permission denied: '/sys/class/gpio/export' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/linaro/Desktop/temp_hum.py", line 7, in <module> gpio3 = GPIO(3,"in") File "/usr/local/lib/python3.7/dist-packages/periphery/gpio.py", line 999, in __init__ self._open(line, direction) File "/usr/local/lib/python3.7/dist-packages/periphery/gpio.py", line 1020, in _open raise GPIOError(e.errno, "Exporting GPIO: " + e.strerror) periphery.gpio.GPIOError: [Errno 13] Exporting GPIO: Permission denied Any Idea how to solve this?
×
×
  • Create New...