3 Replies Latest reply on Mar 18, 2019 9:13 AM by hello_4030701

    Understanding PrISM

    hello_4030701

      Hi,

      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?