Interfacing with GPIO, UART, SPI, I2C etc

How do one goes about interfacing with the GPIOs and the various serial pins on the Radxa Zero from a C/C++ program that is written and compiled on it?

Add mraa or wirepy support for Radxa Zero is on our to-do-list.

3 Likes

Thats cool. I am waiting for this one.
Also, is it gonna be possible to get gpios to work on Android based OS?

Sounds great! Can prioritise mraa? Since libmraa have bindings to Python and applications written in C/C++ would be substantially faster compare to Python, especially for a resource constrained device like Radxa Zero.

Nice news! My zero will be here with in a week. Iā€™d like to replace a raspi zero of my system with the Radxa zero. That uses gpio, I2C and PWM. When do you think it will be available?
Thanks.

Add mraa or wirepy support for Radxa Zero is on our to-do-list.

Can we get the status of this support? Really wanted to work on SPI with Zero. Thanks.

it would be awesome to use i2c on this board, do you have any news about it?

Hi. To use spi, i2c, please see this guide. https://wiki.radxa.com/Zero/Debian#common_hardware_interface

1 Like

:clap: Hi. Please see https://wiki.radxa.com/Zero/dev/libmraa