This is a cache of https://discuss.96boards.org/t/access-gpio-though-python/358. It is a snapshot of the page at 2020-02-17T05:14:58.636+0000.
Access GPIO though Python - DragonBoard410c - 96Boards Forum

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:

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