Divideing brightness now /10 not /100, using the value no direct to set pixel.
Comments modified.