Exactly - if you can read a pot, take that 10-bit value & shift it right 2 bits, you have an 8-bit value you can use as analogWrite for PWM, or use it influence the PWM you use otherwise.
Exactly - if you can read a pot, take that 10-bit value & shift it right 2 bits, you have an 8-bit value you can use as analogWrite for PWM, or use it influence the PWM you use otherwise.