PWM brightness control

hello akshata,

please check below topic for reference to control PWMs,
thanks