Optimize LED painting
Support variable brightness