Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPIO instructions are out of date for modern Raspbian #3

Open
cibomahto opened this issue Sep 10, 2024 · 0 comments
Open

GPIO instructions are out of date for modern Raspbian #3

cibomahto opened this issue Sep 10, 2024 · 0 comments

Comments

@cibomahto
Copy link
Member

With recent Linux kernels, the GPIO numbering scheme has changed. The documentation should be updated.

This is an example of how to find the correct GPIO to turn on target power on a Rasbperry Pi 4:

cat /sys/kernel/debug/gpio

echo 525 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio525/direction
echo 1 > /sys/class/gpio/gpio525/value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant