avishorp / TM1637

Arduino library for TM1637 (LED Driver)
GNU Lesser General Public License v3.0
428 stars 218 forks source link

`SetBrightness` changes the brightness immediately #16

Closed RileyStarlight closed 7 years ago

RileyStarlight commented 7 years ago

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.

avishorp commented 7 years ago

Thanks, but I'm not going to merge code that breaks the current behavior.