ROC-RK3328 GPIO Node Red Raspbain

I’ve recently tried accessing the GPIO pins from Node Red while using the rpi.GPIO node but have failed. Is there a driver I need to install in order to map IO across to the operating System or something?

rpi.GPIO is not a supported library due to poor coding and bad design. We recommend using libgpiod which is the de-facto Linux way of controlling all aspects of GPIOs.

To get the proper chip and line numbers for use with libgpiod, we made a handy tool:

You can get the gpio chip and line numbers using our lgpio command.
lgpio info PIN# gpiod

You can get and set the gpio using gpiod commands.
gpioget
gpioset

There are other bindings like C/C++/Python for libgpiod. You can also find the GPIO maps here: