Skip to content

Instantly share code, notes, and snippets.

@agmm
Created September 11, 2022 14:01
Show Gist options
  • Save agmm/40f6dc5858bf7ca98a57617507e4890f to your computer and use it in GitHub Desktop.
Save agmm/40f6dc5858bf7ca98a57617507e4890f to your computer and use it in GitHub Desktop.
enable-gpio-shutdown-raspberry-pi.md

Edit /boot/config.txt and add the following line:

dtoverlay=gpio-shutdown,gpio_pin=3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment