added methods to get information about the interrupt pin and pin value
added interrupt example