-
Notifications
You must be signed in to change notification settings - Fork 9
lucsmall/Raspberry-Pi-Shutdown-Button
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Raspberry Pi shutdown button Luc Small lucsmall.com 20150422 Watch the youtube video: https://youtu.be/Ns0JdZrXwdk Waits for a button press and then shuts down Raspberry Pi Momentary switch is connected between physical pins 25 and 26 on the GPIO header Script lives at: /home/pi/off-button/ This script is added to crontab (with crontab -e) as follows: @reboot /home/pi/off-button/wait-for-power-off-button.sh All output goes to stdout and log file
About
A script that allows the Raspberry Pi to be powered off from a push button (tactile switch)
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published