Jump to content

shenouda

Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Found the solution in this tutorial: https://forum.up-community.org/discussion/2141/solved-tutorial-gpio-i2c-spi-access-without-root-permissions
  2. I can't find a compatible library to read temperature and humidity from dht sensor in python..
  3. 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...