Hello Mark,

Mark>> repeating this process 16 times in total, till the end of the pot is reached, with the output ending on full on. <<

Ok... What is happening, ( I am guessing here), that your range of your value that you are feeding your HPWM is from 0 to 1024 from your ADC? Is this correct? If so, your HPWM range is from 0 to 64 right now... thus 16 times 64 is 1024. (that is where I got your HPWM range...

Just for curiousity, feed your HPWM values from 0 to 64, and see if that is the full range of your HPWM. If so, you are missing some bit ranges on your configuration of your PWM.

Dwayne