Can we use arduino mega 2560 analog pins as digital inputs as all other digital IO's...?
Yes
Mark
How?
can u provide me with syntax example?
Say you want to use A0 as a digital pin and turn it HIGH, you do digitalWrite(A0, HIGH); to turn it high.
A0 to A15 can also be addressed as digital pins 54 to 69.