Updated Gpio.cpp supporting extra IO-pins on Pi2

Moderator: leecollings

Post Reply
ogroot
Posts: 5
Joined: Sunday 13 March 2016 22:49
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands
Contact:

Updated Gpio.cpp supporting extra IO-pins on Pi2

Post by ogroot »

I updated Gpio.cpp in order to be able to use the extra 9 GPIO ports of the Pi2.
The current version of Gpio.cpp was limited to the old number of GPIO ports of the Pi A/B.

I compiled, tested and used the new build with modded Gpio.cpp and it works flawlessly.

I can imagine that other people also want to use this.
Does anyone know How can I upload my "improved Gpio.cpp" to the source tree ??
Is there a quide / instruction somewhere?
User avatar
nayr
Posts: 354
Joined: Tuesday 11 November 2014 18:42
Target OS: Linux
Domoticz version: github
Location: Denver, CO - USA
Contact:

Re: Updated Gpio.cpp supporting extra IO-pins on Pi2

Post by nayr »

yes please.

create a github account, fork the domoticz repository.. clone your fork, add your modifications to the repo, check them back in and then sumbit a pull request to the main repo.
Debian Jessie: CuBox-i4 (Primary) w/Static Routed IP and x509 / BeagleBone with OpenSprinkler / BeagleBone Planted Aquarium / 3x Raspbery Pi2b GPIO Slaves
Elemental Theme - node-domoticz-mqtt - Home Theatre Controller - AndroidTV Simple OSD Remote - x509 TLS Auth
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest