zipper noise

Hi, I'm using a digital pot (AD5231) to replace a pot in a wah pedal.
works ok except from a audible "zipper noise" comming from the "steps" the digital pot takes to reach any value.
Does anyone has a way of preventing this (in code I mean).

Thnaks

E