Using INT pin as both INT and Digital input simulateously