Messages in this thread | | | From | "Kim, Milo" <> | Date | Fri, 20 Jan 2012 09:30:36 -0800 | Subject | RE: [PATCH 7/7] leds-lm3530: enhanced arithmetic operation |
| |
>> The reason why dividing by two is only 7-bits of brightness value in the LM3530 register. >> >> Bit7 | bit6 | bit5 | bit4 | bit3 | bit2 | bit1 | bit0 >> ------------------------------------------------------ >> N/A | LED Brightness Data (Bits[6:0]) >> ------------------------------------------------------ >> >> So maximum value is limited to 127.
> So the max_brightness property of your led should be set to 127.
That's good point. Thanks a lot ! Additional patch needs for this.
Best Regards, Milo -
| |