Digital Output as an Input Pin

Hello,

I am working on a project that requires more than 6 input pins. I remember reading somewhere, about how you could use a digital output pin as an analog input pin. I have searched, but somehow it has escaped me.

Thanks!

Check your memory - it is defective.

about how you could use a digital output pin as an analog input pin.

Wrong, you read how you could use an analogue input pin as a digital output (or input) pin.

you need more than 6 input pins? or more than 6 analog input pins? if the first, then you can make input all the pins