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 on OPi lite #39

Open
yipmc opened this issue Feb 3, 2019 · 1 comment
Open

wait_for_edge not working on OPi lite #39

yipmc opened this issue Feb 3, 2019 · 1 comment

Comments

@yipmc
Copy link

yipmc commented Feb 3, 2019

import orangepi.lite
import OPi.GPIO as GPIO
GPIO.setmode(orangepi.lite.BOARD)
GPIO.setup(16, GPIO.IN)
GPIO.wait_for_edge(16, GPIO.RISING)

gives

[Errno 2] No such file or directory: '/sys/class/gpio/gpio68/edge'
@rm-hull
Copy link
Owner

rm-hull commented Feb 5, 2019

Do you see any other edge files? try: ls /sys/class/gpio/*/edge whilst that program is running (you might have to put a delay in the program to verify)

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