Add digital pot support

Tone and volume pot support has been added but not tested.