Ervin is of African American and Native American descent on his father's side, and Jewish American on his mother's side.
Step 2: Arduino AttachInterrupt() Function. attachInterrupt() function is used for creating external interrupt.SyntaxattachInterrupt(interrupt, ISR, mode)attachInterrupt(pin, ISR, mode) (Arduino Due only)Parameters interrupt:the number of the interrupt (int)pin:the pin number(Arduino Due only)ISR:the ISR to call ...
Arduino interrupt handlers can only be functions. You are trying make method of an object an interrupt handler. Hence the compiler complains. To be more precise about it, object methods are like functions, but it is as if they take a hidden parameter, which specifies the object instance.