Quote:
Originally Posted by AdmiralAllen
no......the maximum pwm value is 256......its an extrema
|
Actually, the maximum PWM value is 255, or 2^8 - 1, which is the maximum value that can be held in 8 bits of memory - the size of an unsigned char. Going above this will cause an overflow problem, where you'll loop around and start at 0 again.