Android I2C, SPI, GPIO

Hi,

I have the CM4 module running Android 9 and I need to communicate with I2C devices or GPIO pins from Python.

I tried to install WiringPi, RPI.GPIO, Amlogic-WiringPi, etc. but I have a lot of errors trying to compile or installing using pip… Can’t belive I can’t find any tutorial or any other information of how to do this from Android.

I installed Termux but packages like i2c-tools are not in the repository, I don’t know how to do that…

Thanks!

Thanks. It is very informative. Data Science Course in Pune

I found that: Getting Started with CM4 - Banana Pi Wiki , maybe it can help you

Skycoach boasts a dedicated team of professionals who are not only skilled but also passionate about gaming. click here