Set LCD brightness from code?

RandallR's method for Backlight control is a better solution.