Week 12: Segment 1: USe of Pin Change Interrupts on the Arduino
This segment focuses on 'pin change interrupts' for the detection of events that occur sparsely and randomly such as a touch pad or button event. The difference between 'external' and 'pin change' interrupts is that the external interrupts only react to pins 2 and 3 on the Arduino, while the pin change interrupts can be used on all pins. The drawback of pin change interrupts is that the triggering pin usually needs to be detected in a second step, and that only pin change events can be defined as interrupts, and not specific transitions such as rising and falling edge.
Materials for this segment:
Main Arduino sketch used in the tutorial: