Replace manual potentiometer with a digital one

Yes but I can't control it with the arduino?