It has a PWM control... which i am trying to use to FADE in (and out eventually) a high powered LED (LUX III to be specific).. the problem I having is that at a certain point (say at 50-60%) of full brightness I see a VISUAL jump in brightness..
Im trying to get it to be smooth the whole way through to 100%
more or less the code is like:
PWM = PWM+2
which I then wait 10 mSecs and loop it again...
I have tried to put in some conditional checking to check to see if the current level of PWM is at a certain threshold..and then only loop it again after a longer delay (say 300mSecs) or something..
I tried to search.. ut Im not sure on how to get a CONSISTANTLY smooth fade...ot smooth to say 50-60%..then a visual jump in brightness and then smooth to 100%..
any ideas or links on the subject are appreciated.