Need clarification on the parameters of analogWrite(pin,value)

Robin2:
Dividing it into 255 steps gives more precision than 100 steps. These are byte values so there are no decimals.

This means that the PWM counters count to 255 steps, not 256!

Hadn't looked into this. :smiley:

raschemmel:
2.55% per count

You think?