Added void* userdata to interrupt so the c class is usable within a c++ class having multiple instances. Also transmit pin number to interrupt function. WARNING: changes some API functions.