move DC_PWM_MAX_VALUE definition from c to header file