BPI-M2+ how to use 40 pin GPIO


(bpi team) #1

BPI-M2+ GPIO schematic diagram

it not same as BPI-M1 pin define, I have a GPIO list, as follows

To fit the M2 + GPIO, very simple, just edit gPinToPort and gPinToShift changes into corresponding to M2 + pin.

so you can use it with wiringpi with it.

all test code at here , you can download it and test it.

https://drive.google.com/file/d/0B4PAo2nW2KfneE5xbm4tZl9MTVU/view?usp=sharing

very thank bluebanboom do this work.