actually analogWrite pwm, actual ADC coefficients, camelcase pwmVal, update resistor value