attachInterrupt: make sure it returns an object