Ravaz Posted December 16, 2019 Posted December 16, 2019 Hello, is it possible to install WiringPi on Rock Pi 4? I tried to install WiringX using the instructions on https://github.com/wiringX/wiringX , but after installing it the command "gpio" is not present. Any hint on how to get "gpio" command on Rock Pi 4? Thanks
aaditya Posted December 16, 2019 Posted December 16, 2019 Hi Ravaz, Its not supported currently, but is planned: https://forum.radxa.com/t/how-to-control-the-gpio/148/29 If you know a bit of programming, can try using the GPIO via a bash or python script, like here: https://forum.radxa.com/t/how-to-control-the-gpio/148/10
Tido Posted December 17, 2019 Posted December 17, 2019 16 hours ago, Ravaz said: Any hint on how to get "gpio" command on Rock Pi 4? Within armbian you find following User-Supported options for GPIO and more: ArmbianIO (sysFS) or UserSpaceIO (libgpiod), pyGPIO accesses 'pins' directly through /dev/mem ArmbianIO APIhttps://forum.armbian.com/topic/5655-armbianio-api-proposal/ User Space IO is Python 3 and Java 8 bindings for user space GPIO, SPI, I2C, PWM and Serial interfaceshttps://forum.armbian.com/topic/6523-user-space-io-is-python-3-and-java-8-bindings-for-user-space-gpio-spi-i2c-pwm-and-serial-interfaces/ pyGPIO - A 'more general' python GPIO library based on pyA20https://forum.armbian.com/topic/5662-pygpio-a-more-general-python-gpio-library/ 1
Recommended Posts