Using INT pin as both INT and Digital input simulateously

That's a hardware problem :grinning:

And the reason for using an interrupt ?