analogRead() returns an int. map() takes and returns longs. You can't get floating point numbers from what you are trying to do.
analogRead() returns an int. map() takes and returns longs. You can't get floating point numbers from what you are trying to do.