GPIO Emulator in Ubuntu for gpioset command

470 Views Asked by At

I have an Ubuntu 20.04 desktop operating system. I run the following code:

gpioset gpio3 8=0

This is a GPIO set command which I run it successfully in NanoPI. How can I run this code in my Ubuntu desktop OS, without getting the below warning:

gpioset: error setting the GPIO line values: No such file or directory

In other word, I think I should use a GPIO emulator in Linux. I search and find some emulator such as GPIO Emulator, but it does not work for me.

0

There are 0 best solutions below