in PWM code, CCR1 PWM duty cycle 256 = 50%