Have you considered using a i2c rheostat? Not sure which resistors we are talking about but those go up to 100k.