implemented digitalpot