tnx for reply,
if I make the ports analog they all going to be analog so all a and b ports including the interups pins (port b) because these pins of ic are used for several kinds of in/output.
And when they are in analog mode the interrups won't work.
I have no idea how to make the different pins into digital and analog mode the same time.
In oshonsoft I only can make everyting analog or digital.
So thats why I ask if there is a trick or some code to make the ports (or pins) in analog and digital mode the same time.
I need 4 analog inputs that I use from port a, an0,1,2,3 and I need (digital) 2 interrups (port b), swithes I put on port c (port c has no analog i/o), outputs (port c) is going via i2c to output extender ic, and i2c display