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

Wait for edge not working #4

Open
int-red opened this issue Mar 16, 2019 · 5 comments
Open

Wait for edge not working #4

int-red opened this issue Mar 16, 2019 · 5 comments

Comments

@int-red
Copy link

int-red commented Mar 16, 2019

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.

@kroko
Copy link

kroko commented Aug 6, 2019

Can replicate the issue for GPIO.wait_for_edge()

Using Armbian Stretch which is distro noted as working by vendor SinoVoip.

# uname -a
Linux bananapim2plus 4.19.62-sunxi #5.92 SMP Wed Jul 31 22:07:23 CEST 2019 armv7l GNU/Linux

# lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 9.9 (stretch)
Release:	9.9
Codename:	stretch

@kroko
Copy link

kroko commented Aug 6, 2019

@int-red btw have you had success with other RPi.GPIO fork, if yes, which one?

@kroko
Copy link

kroko commented Aug 6, 2019

interlinking issues #3

@int-red
Copy link
Author

int-red commented Aug 19, 2019

@int-red btw have you had success with other RPi.GPIO fork, if yes, which one?

No, I didn't have success with other RPi.GPIO forks.
I rewrote my code to use polling on the input - not a nice solution, but it worked for my use-case.

@kroko
Copy link

kroko commented Aug 19, 2019

@int-red thanks for the followup. I solved the issue by switching to NanoPi ^_^ where for both vendor's supplied distro as well as Armbian (went with the latter) external interrupts work OOB using https://github.com/auto3000/RPi.GPIO_NP

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

2 participants