6 Replies Latest reply on Mar 28, 2019 2:15 AM by EktaN_26

    Understanding PrISM



      I would like to use the PrISM component to change the brightness of a led Matrix.

      I have configured the PrISM component with a resolution of 8 bits, the pulse density type as Less Than or Equal.

      To change the dimming value, I modify the pulse density with the API function PWM_L_WritePulse0(item), sending and integer from 0 to 255. The dimming is working but is not linear.

      I have the following curve:




      How can I make the dimming linear?