Measuring current from a digital pin with analogRead