'GPIO Emulator in Ubuntu for gpioset command
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.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|