Problem with analog ports reading

Wawa:
Try reading each analogue input twice.
The second reading is likely free from the cross-talk you're experiencing.

int sensorVaue = analogRead(A2); // dummy read

int sensorVaue = analogRead(A2); // real one
int sensorValue1 = analogRead(A3); // dummy read
int sensorValue1 = analogRead(A3); // real one



Leo..

Thanks it seems to work just fine with this!