Access GPIO though Python

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

Hi Anthony

I think we spoke earlier. Please try this library:

the example you are after is in this link:
https://github.com/96boards/96BoardsGPIO/blob/master/examples/blink.py

for additional information on the sensor board, follow thispost

@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

1 Like