Hi

I start doing GPIO test with the package on openSUSE 15.1 and Raspberry Pi 3B+.
When I run the program in the document, I got "segmentation fault". My program 
is below.
Python 2.7.14 (default, Oct 12 2017, 15:50:02) [GCC] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import RPi.GPIO as GPIO
>>> GPIO.setmode(GPIO.BCM)
>>> GPIO.setup(25,GPIO.OUT)
Segmentation fault (core dumped)

Does anyone work well with this gpio package? I want to know the workaround for 
this.

And I know mraa library is the replacement for gpio. But I can't find how to 
write the code with mraa when we can write the code below with gpio.
<gpio description>
GPIO.set(24,GPIO.IN)
GPIO.input(24)

Does anyone tell me the hit for this?

Best Regards.

Ryo
 


-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to