Archive for tag: interrupts

PIC buttons (interrupt-based)

23 August, 2002 (22:08) | code, howtos | By: nick

Previously, in PIC buttons (polling) we saw how to poll for the state of a line connect to a button, that is all fine and good but really that is not the best way to do them. The “real” way to interface with external components like that is through interrupts, a slick feature.
Interrupts provide you [...]