How to replace a mechanical Potentiometer with arduino controlled digital Pot?