Proietti:
Very interesting read. I have 1 question though. The author was dimming from 0 to 100% and vice versa. I am interested in the look up table but would like to know how to make the look up table work if say I decide the led should only dim up and down from 40%
Easy. Find the 40% output threshold in the table and don't exceed that table index.