replace digital pot with some resistors