I have an application that requires using a PWM input to control the brightness of a MD4 5 inch non-touch display. The input is to be wired on C4:1 of a XC21 module. The input runs at a duty cycle of 10-90%.
Unfortunately for me, this is an optional input on the overall system. It is possible, that the PWM input is not available. If this is the case, the brightness would be controlled by a discrete switch.
My plan was to monitor the PWM input value, and if the PWM input was 100%, then I would go to a predefined brightness. If the PWM input was 0%, then I would go to a different predefined brightness. Any value between 10% and 90%, I would have the brightness of the MD4 set to the PWM value. As I see it now, I am not able to set the PWM input value to read from 0-100%. The default values for these types of inputs are 5-95%, and I can adjust them to cover 1-99%. This would be fine if the input was always a PWM type, but if the vehicle does not have this optional switch, then my PWM value would be 0% or 100%.
Is there anyway that I would be able to accomplish this, without have to make an adjust item?
Customer support service by UserEcho