this chip uses 12-bit ADC, vs 10-bit on old chip. I tried to limit the pot within a small range, but it still wasn't working as expected until I did this. have no idea. don't code without sleep.