Updated interrupt pin number to 0, since example shows connection to arduino pin 2 (interrupt pin 1 is linked to arduino pin 3)