Analog reading to Digital