/sys/class/gpio/export:Invalid argument
GPIO pin 17 does not seem to be available on your platform
RuntimeException: /sys/class/gpio/export: Invalid argument
RuntimeException: /sys/class/gpio/export: Invalid argument
I figure it has something to do with the fact that the rpi3 uses the "Sysfs Interface" for GPIO pins (which is phased out for a long time), and the rpi4 onwards "GPIO Character Device Interface". The Hardware I/O library seems to rely on the "Sysfs Interface"?
The folder /sys/class/gpio on the rpi 4 is almost empty, Output of ls -l /sys/class/gpio is:
Related to: https://github.com/benfry/processing4/issues/807
I figure it has something to do with the fact that the rpi3 uses the "Sysfs Interface" for GPIO pins (which is phased out for a long time), and the rpi4 onwards "GPIO Character Device Interface". The Hardware I/O library seems to rely on the "Sysfs Interface"?
The folder /sys/class/gpio on the rpi 4 is almost empty, Output of ls -l /sys/class/gpio is:
Whereas output of the rpi 3 ls -l /sys/class/gpio is: