Set resolution of PWM used in analogWrite(). This allows to make smoother change of PWM than the default 256 steps. analogWriteResolution(resolution) resolution the number bits to use: 1–16 None Most popular resolutions are: >
resolution in bitsDescriptionrange of values passed to analogWrite()
8 (default)Arduino Uno compatibility mode0–255
16maximum possible in Z-Uno0–65535