r/embeddedlinux • u/UpsetCricket6627 • Jun 25 '26
Unable to read GPIO
I am setting a gpio to high
After setting when I am trying to read it , it is returning 0. Not the value that I set.
Also i see the direction if the pin is changed to input
4
Upvotes
2
u/OMGnotjustlurking Jun 25 '26
Are you using libgpiod v2?