We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Some single board computers do not permit non-root access to GPIO pins. Allowing non-root access requires a udev rule.
sudo tee /etc/udev/rules.d/99-gpio.rules <<EOF SUBSYSTEM=="gpio", KERNEL=="gpiochip*", GROUP="dialout", MODE="0660", TAG+="uaccess" EOF
Reboot!