#include "..\Timer1\TimerOne.h"#include "..\PinChangeInt\PinChangeInt.h"
I would like to be able to attach and detach interrupts within library functions ...
Sorry, laziness on my part. I meant PCintPort::attachInterrupt() and PCintPort::detachInterrupt()Not intending to be attaching and detaching continually. Just wanted to hide the low level configuration from the end user of a library, so that the attaching is not done in the top sketch. I suppose I could define a preprocessor macro in the library header file, which then gets put in the top sketch, and expanded when the PCintPort methods are in the compiler scope.Point taken about the $5 chip though...Thanks for your input.