Backlight driver code is done and ready to implement

But just for testing purposes, it might work fine as is, or it might jitter a little and constantly turn the brightness up and down, i havent yet implemented anything for stabilizing the output.

right now this code doesnt adjust the output at all, ill edit it later though so it does. But it is both reading and writing PWM signals, all that needs to be done is some quick math to set the output brightness value (0-1024)  to the PWM percentage of that, and do this only once every few seconds, furthermore, to ignore slight shifts in the brightness, or some other method for stabilizing the output.

 

Continue reading Backlight driver code is done and ready to implement