AnalogOut fixed and finished