-
Notifications
You must be signed in to change notification settings - Fork 12
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
C2 - Segmentation fault #4
Comments
Thanks - I don't own a C2, so no way to test. |
Also saw this on the XU4. |
Sorry, forgot about this. I don't even own a C2 anymore lol. But I'm pretty sure the error is generated when you call the gpio improperly ... whether that be they're either not setup in code or out of range. Though they can be out of range if you don't set them up right like BCM and whatever the other convention is. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just wanted to inform you of an error as I ran this on a Odroid C2.
#!/usr/bin/python3
import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)
for i in range(0,28):
GPIO.setup(i, GPIO.OUT)
GPIO.output(i, GPIO.LOW)
dev@odroid:~$ sudo ./a.py Segmentation fault
The text was updated successfully, but these errors were encountered: