-
Notifications
You must be signed in to change notification settings - Fork 622
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
ERROR : Unable to initialize GPIO #541
Comments
I tried to open two control ws2811 programs without any errors, so I find it difficult to understand why an Unable to initialize GPIO error occurred, and then a Segmentation fault occurred, which made me very frustrated |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I ran the program separately on Raspberry Pi 4b and it works fine. I am using GPIO.12.
But after merging with my other code, an error occurred that was Unable to initialize GPIO.
In my system, I used the writingpi (c) library, bcm2835 (c) library, and a webrtc business code. I tested the code of the ws2811 library, wiringpi (c), and bcm2835 (c) library separately, and even opened them in parallel without any problems. However, when mixing the business code for these gpio operations with the webrtc business code, this issue occurred. It should be noted that webrtc only handles audio and video transmission and compression content, and does not operate on gpio.
Please help me analyze where the problem may be.
webrtc: https://github.com/kclyu/rpi-webrtc-streamer
The text was updated successfully, but these errors were encountered: