Access GPIO though Python


#1

Hi,

I am working on a hackathon using the Dragonboard, and need immediate help if possible. The board is installed with Linaro.

My question:

How can I access the GPIO boards using Python? Which library can I use?

Thank you for your great help and prompt reply.

Sincerely,
Anthony


#2

Hi Anthony

I think we spoke earlier. Please try this library:


#3

the example you are after is in this link:


#4

for additional information on the sensor board, follow thispost


#5

@anthony:

I know it may be late for this post but…

There are two more libraries which can be used to access the GPIO on your 96Boards, they can be found here:

libsoc:

mraa:

Each github with some appropriate documentation.

Please keep an eye on the 96Boards website, github, and wiki for more information around these libraries, including build instructions and examples. These, along with the 96BoardsGPIO library mentioned above are expected to be included in future 96Boards builds.

DM me here, or find me on IRC if you want to chat!

IRC: sdrobertw