Modified the behavior of setBrightness to allow to turn on, turn off and modify the brightness of the display from a single variable, using a single call. In addition I have corrected the operating range according to datasheet.
These changes can break codes that use the previous behavior.
Modified the behavior of
setBrightness
to allow to turn on, turn off and modify the brightness of the display from a single variable, using a single call. In addition I have corrected the operating range according to datasheet. These changes can break codes that use the previous behavior.