I think the only thing you can do in this case is to oversample and=20 filter to get more resolution, and then apply a deadband. Mike On 27/11/2015 07:10, Jim Ruxton wrote: > Thanks Bob, > This is actually what I have now however it reduces the resolution of my > system from 1024 values to 1024/(deadband+1) . I was hoping to avoid > the drop in resolution. I am building a light dimmer so I want as > gradual a curve as possible when I am moving the POT to control the outpu= t. > Jim > --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .