Manage gpio with python and toradex linux on colibrì iMX7

What library di i need to use to manage GPIO with toradex linux and Python?
I Followed the example given here but it doesn’t seem to work.
Tanks in advantage

Hi @Rem0068

Could you provide the version of the hardware and Software of your module?
Which carrier board are you using?

What exactly is not working? How do you know it is not working?

Best regards,

…I think I have solved…I missed the table ‘GPIO Alphanumeric to GPIO Numeric Assignment’ to understand and make everything work…

We use an iMX7 module mounted on an Aster board V.1B. The operating system in use is the Toradex embedded linux version 2.8.
With Python to manipulate GPIOs I should use the sysfs structure (with Torizon linux I was able to realize my software simply using the debian container and libgpiod ).
With other devices I’ve always used python-periphery to work at will on GPIO and sysfs structure.
Although it is possible to load this library on Toradex but this seems not to work and not even the example that you report.
I was asking if you had any suggestions…

Perfect that it works. Thanks for the feedback.