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

Intermittent GPIO RuntimeError #82

Open
mkelland opened this issue Mar 4, 2018 · 0 comments
Open

Intermittent GPIO RuntimeError #82

mkelland opened this issue Mar 4, 2018 · 0 comments

Comments

@mkelland
Copy link

mkelland commented Mar 4, 2018

I've been running this program a fair bit over the last 24h. Python command:

GPIO.setup("CSID1", GPIO.OUT, initial=1)
GPIO.output("CSID1", True) 

And I intermittently get the following error:

RuntimeError: Could no write 1 on channel CSID1. (gpio_number: -1 found for XIO-P0
gpio_number: -1 found for XIO-P1
gpio_number: -1 found for XIO-P2
gpio_number: -1 found for XIO-P3
gpio_number: -1 found for XIO-P4
gpio_number: -1 found for XIO-P5
gpio_number: -1 found for XIO-P6
gpio_number: -1 found for XIO-P7
open_value_file: could not open '/sys/class/gpio/gpio133/value' (No such file or directory)
gpio_get_value: could not open GPIO 133 value file)

Note that this only occurs on occasion, and so is likely challenging to debug. I'll also note that its possible that it's my code - it's not as simple as the snippet above.

Any suggestions would be most appreciated.

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

1 participant