Changed interrupt mode from LOW to FALLING.