This is a bit confusing, because while .pde code is written in C style, it appears that it uses C++ linkage
I tried doing it in C (.c files) first and got some errors.
I also discovered, not too surprisingly, that the function pointer passed to attachInterrupt() must use C linkage.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16