Notes:
- Adding a link does not equal an endorsement of any kind.
- Ordered by year and discovery date.
Notes:
// pin is 2. | |
const int multiButton = 2; | |
void setup() { | |
// Configure the pin mode as an input. | |
pinMode(multiButton, INPUT); | |
// Attach an interrupt to the pin, assign the onChange function as a handler and trigger on changes (LOW or HIGH). | |
attachInterrupt(multiButton, onChange, CHANGE); | |