added analogReadResolution(12); to the analogRead inputs, new feature on the arduino due.