MCP41010 digital pot maximum allowable Vdd is 7 Volts! Your triac driver works at 14 volts obtained directly from 220 Vac. I think MCP41010 will not last long!