Analog write