Git Product home page Git Product logo

rpi.gpio's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

rpi.gpio's Issues

Interrupts not working

When setting up a interrupt on a input with
GPIO.add_event_detect(13, GPIO.FALLING, callback=Interrupt1, bouncetime = 200)
the callback function never gets called.
When polling the input with GPIO.input(13) I can indeed verify that the input changes.

Wait for edge not working

Waiting on a input for a rising or falling edge with GPIO.wait_for_edge(channel, GPIO.RISING) does not work.
The function never returns.

This module can only be run on a Raspberry Pi!

Hi there,

I have a BPI M5, debian version :
Linux bananapi 4.9.241-BPI-M5 #2 SMP PREEMPT Mon Jun 21 16:29:40 HKT 2021 aarch64 GNU/Linux

When I tried to use it I still obtain "can only be run on a Raspberry Pi!"

I did
apt-get update
apt-get upgrade
apt-get install python-dev python3-dev
python3 setup.py install
git clone https://github.com/BPI-SINOVOIP/RPi.GPIO
cd RPi.GPIO/
python3 setup.py install
python setup.py install

python RPi.GPIO/test/g40.py
BPI: gpioLayout(-1)
Traceback (most recent call last):
  File "RPi.GPIO/test/g40.py", line 2, in <module>
    import RPi.GPIO as GPIO
  File "/usr/local/lib/python2.7/dist-packages/RPi/GPIO/__init__.py", line 23, in <module>
    from RPi._GPIO import *
RuntimeError: This module can only be run on a Raspberry Pi!

I tried to upgrade RPI.GPIO from (pip/pip3) 0.6.5 to 0.7, but same issue

Any idea ?
Kind Regards

BPI M4 support

Hi, do you plan to add support of BPI M4 board?

Now it is not working with error "This module can only be run on a Raspberry Pi!"

Not work on BPI M1 Plus

RPi.GPIO not recognized the hardware.

File "/usr/local/lib/python2.7/dist-packages/RPi/GPIO/init.py", line 23, in
from RPi._GPIO import *
RuntimeError: This module can only be run on a Raspberry Pi!

I'm on a Banana PI M1+.
Linux Sever 3.4.113-bananian #9 SMP PREEMPT Sat May 6 12:20:11 UTC 2017 armv7l GNU/Linux

Thank for your help.

"Multiple definition of ..."

I try to install t on my Banana pi M2 zero with Armbian but it fails. It says "multiple definition of ..." and that for a lot of variable.
Does someone could help me fixing this issue?

BPI W2 support

Hi, do you plan to add support of BPI W2 board?

Now it is not working with error "This module can only be run on a Raspberry Pi!"

Raspberry 5 Support

Will this library be updated with Raspberry 5 support in the future?

I realize Raspberry 5 and RPI.GPIO is currently "not supported" but I imagine it could be reworked.

The docs for gpiod are sparse and things like event_detect still don't seem to work?

How to cancel monitor

gpio = 147, value = 0
gpio(147) bank(4) num(19)
gpio = 21, value = 1
gpio = 147, value = 1
gpio(147) bank(4) num(19)
gpio = 21, value = 0
gpio = 147, value = 0
gpio(147) bank(4) num(19)

I do not need it. How to disable..

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.