This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Demonstration C GPIO interrupt handling routine for Raspberry Pi | |
This is a modified code found at https://github.com/phil-lavin/raspberry-pi-gpio-interrupt | |
The program displays a notice whenever you: | |
-turn on the Raspberry Pi's pin 11 (apply 3.3V), | |
-turn the pin off. | |
This routine uses wiringPi library (follow the installation instructions at wiringpi.com), | |
and should be compiled with a command: |