Cockroach
Posts: 3
Joined: Wed Mar 16, 2016 3:00 pm

Rasp Pi2 & GPIO & Camera

Thu Mar 31, 2016 9:05 am

Hello
i have question, does Arch support GPIO package for Raspberry Pi 2? I found some guides https://aur.archlinux.org/packages/pyth ... erry-gpio/ how to install RPI.GPIO library but nothing didn't work. I need to use GPIO pins in to my script. This script works fine in Raspbian, now i need to use him in ARch (for my thesis).

So just tell me is it possible, or what should i do ? Thanks

sdjf
Posts: 1395
Joined: Fri Mar 16, 2012 5:20 am
Location: California
Contact: Website

Re: Rasp Pi2 & GPIO & Camera

Thu Mar 31, 2016 9:33 pm

You will need to be more specific about what you did that did not work, to get significant help.

That URL you gave talks about compiling the package, which then must be installed with pacman. Did you do that? If you tried to follow guides for Raspbian, they will not work without modification of the instructions to work with ArchLinuxArm.
FORUM TIP: To view someone's posting history, sign in, click on their user name, then on "Search User's Posts." || Running ArchLinuxArm on Model 2B and 512MB Model B

User avatar
DougieLawson
Posts: 38882
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Rasp Pi2 & GPIO & Camera

Fri Apr 01, 2016 4:54 am

You should be able to install the stuff you need with pip (or pip3).
https://pypi.python.org/pypi/RPi.GPIO/0.5.11
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Cockroach
Posts: 3
Joined: Wed Mar 16, 2016 3:00 pm

Re: Rasp Pi2 & GPIO & Camera

Fri Apr 01, 2016 8:53 am

DougieLawson wrote:You should be able to install the stuff you need with pip (or pip3).
https://pypi.python.org/pypi/RPi.GPIO/0.5.11
Yea, thats it ty, but didnt install it with pip (because i cant install pip :D and dont know why) but i used wget + link and then unzip and install it.
But thanks for response =)

Return to “Arch”