I am trying to communicate via GPIO using C. Based on this I tried to download the source for libgpiod and build but I got...
configure: error: "libgpiod needs linux headers version >= v5.5.0"
I tried to install via aptitude like sudo apt-get install libgpiod
but when I run sudo gpioget gpiochip1 20
(GPIO 20 works on my python app) I get...
gpioget: error reading GPIO values: Invalid argument
How do I get libgpiod to work? Is there a more "native" way to do GPIO programming?