How to assign pins Arduino micro

Hey Guys,

The Micro has several pins that can be used for digital and for analog. My question is; How? If I use analogRead (A5), the pin doesn’t react to connecting it with 5v.

My code:



void setup() {

void loop() {
 int sensorValue = analogRead(A5);
 delay(1);        // delay in between reads for stability


oh, sorry I made a copy paste misttake. I'm a little further now. Pin A6 - A10 are working! (as well as pin A0 - A3) Only thing is, when I read one pin, the sensor value also reacts when I touch other pins (that are unconnected). Is that normal?