analogRead: added polarity fix