add the "map" function for analog read