I have an Arduino Uno R3, I have a problem with the analog input pins and the analogRead() function, when I use the function to read any pin of the analog input pins (A0 - A5) with no wire connected to it, I expect to get 0 as a result, but I usually get a result from 250 to 350, I use this instruction: Serial.println(analogRead(0));
I also tried some things crazy like: Serial.println(analogRead(18)); and for my surprise I still get the same result between 250 and 350!!
Please tell me is that normal? What is the mistake I do? Or is my Arduino board defected?
Thanks a lot for help