Hi All,

I'm trying to linearize LEDs for use with 1024 PWM (lots of different types of LEDs), but I'm finding it really troublesome ...I'm using a lookup table & using a 'hit & hope' method (&very* time consuming)...worse still when I get it 'close' for on LED colour, using the same LUT on another LED colour is often wildy different.

I need a quicker method for finding out the rough values need for each LEDs LUT.

it strikes me what I need is a way of manually hand drawing a rough curve on say my PC (S-curve, log, anti log etc), then getting this into my PIC LUT to see what gets me the closest visually (as I eyeall the LEDs)...so I need a way of being able to draw 1024 levels, then getting these values somehow or other quickly into a table that picbasic can use.

Any top tips?

tks,
Hank.