1

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.

Abolfazl Diyanat
  • 397
  • 2
  • 13
  • Does this answer your question? [How to setup virtual Gpio loopback](https://stackoverflow.com/questions/66424148/how-to-setup-virtual-gpio-loopback) – 0andriy Mar 14 '22 at 13:32

0 Answers0