ronanguilloux / php-gpio

A PHP library to play with the Raspberry PI's GPIO pins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Raspebrry Pi A+ & version 2 support

ronanguilloux opened this issue · comments

I'm putting here an email from Jack **** about Raspebrry Pi A+ & version 2 support:

Dear Ronan Guilloux
At First Thanks For make the Project php-gpio and share with us.
I have a Question may i know is this Project Support the Raspberry-Pi A+ or Raspberry-Pi 2 ?
I have Test this in My Raspberry Pi A+ with a simple LED blink but fail.
So just want to make sure for this.
Thanks

My (typo fixed) answer, and the things to do are:

Hello Jack ****!
AFAIK, A+ & 2 versions are not supported yet, but it wouldn't be a big deal to add such support, since you just have to find the right list of GPIO pins to add in the Gpio class constructor.
These GPIO pins lists for both A+ & Raspi 2 may probably be found in the Raspberry Pi public specifications. Other (unofficial) specs are already online, but a deeper check on that, from you or someone else would be nice.
So, do not hesitate to contribute & to enhance our GPIO pins list, in order to support these new Raspi models !

If i get the sys info (Raspberry A+) i can start writing on this.

Feel free to propose a PR: Official Raspberry Pi A+ hardware documentation is here