
I guess this wasn't what ya needed, oh well. You saved me a few hours of anger now. I love you.....

j/k but thanks you help me. Now I can finish the rest of my code.
we use something similar in our codes. Except ours is opposite, to get it to max.
if (pwm16>154) pwm16 = 154;
if (pwm16<100) pwm16 = 100;
Try that, I don't know much about programming, but ours also has a little trim so if its within 3 or 4 points of 127 it equals 127;
if ((pwm16<130)&&(pwm16>124)) pwm16 = 127;
I'm pretty sure thats what I have, I don't have my code with me but it should work, if anyone else can point out a mistake go ahead....I almost forgot the semi-colons