Interrupts are the name of the game for more functional microcontroller firmware. [Rajendra] just posted a tutorial covering all of the interrupt types for the PIC 16F688 microcontroller. He gives an overview of all of the major points: what an interrupt is, what causes interrupts, how to read the datasheet (often overlooked) to set up interrupts, and finally he applies it to a test platform and a bit of code.
We’ve been playing around with an Arduino again over the weekend and are a bit frustrated with the restricted access to interrupts. That issue deals with AVR interrupts, a topic with which we’re already well acquainted. But we work with PIC hardware much less often and it’s fun to explore how the other half does things, both in hardware and in code.
That’s a big LED!
These tutorials are one of the main reasons I visit HAD. Thanks!
Why does the Arduino have restricted access to interrupts? I’m not familiar with the Arduino as I use Pics.
These look like great labs and tutorials.
Definitely digging the PIC stuff, want to learn more about it, and I love seeing it on HaD.