Currently we are using simple polling to get the status of input pins (Pi shutdown only, but volume control will also need to read inputs). Unless it's terribly hard to do so, it would be really nice to use interrupts to read inputs! It would improve reaction time and safe on CPU time as well. Also, I like interrupts.
Currently we are using simple polling to get the status of input pins (Pi shutdown only, but volume control will also need to read inputs). Unless it's terribly hard to do so, it would be really nice to use interrupts to read inputs! It would improve reaction time and safe on CPU time as well. Also, I like interrupts.