Skip to content

Run any command on a Raspberry Pi with the press on a button

License

Notifications You must be signed in to change notification settings

hoggren/pi-physical-button-trigger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pi-physical-button-trigger

Developed on a Raspberry Pi 4 board using library gpiozero.

Run command on Raspberry Pi from a physical button

See gpiozero documentation for the required GPIO input and components.

Get started

All required packages should be installed on a default Raspian installation, so just run it:

# Might need to make the file executable by running:
# chmod u+x main

./main ls

License

MIT

Do what you want - don't blame me.

Author

[email protected]

About

Run any command on a Raspberry Pi with the press on a button

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages