Display

CIE1931

Chris Marc Dailey (nitz)

Arduino library for calculating PWM DCs for a linear LED brightness ramp.

CIE1931 is a small C++ library (if you can call it that!) that uses constexpr to generate a lookup table for translating a PWM duty cycle scale into a mostly linear brightness output.

Go to repository

This library is compatible with all architectures so you should be able to use it on all the Arduino boards.