gpio-watch: Run scripts in response to GPIO signals · The Odd Bit
For a small project I’m working on I needed to attach a few buttons to a Raspberry Pi and have some code execute in response to the button presses.
Normally I would reach for Python for a simple project like this, but constraints of the project made it necessary to implement something in C with minimal dependencies. I didn’t want to write something that was tied closely to my project…
gpio-watch: Run scripts in response to GPIO signals · The Odd Bit
For a small project I’m working on I needed to attach a few buttons to a Raspberry Pi and have some code execute in response to the button presses. Normally I would reach for Python for a simple project like this, but constraints of the project made it necessary to implement something in C with minimal dependencies. I didn’t want to write something that was tied closely to my project…
https://blog.oddbit.com/post/2014-07-26-gpiowatch-run-scripts-in-respo/