jasonacox / TM1637TinyDisplay

Arduino library to display numbers and text on a 4 and 6 digit 7-segment TM1637 display modules.
GNU Lesser General Public License v3.0
71 stars 19 forks source link

enable brightness direct write #20

Closed stef-ladefense closed 2 years ago

stef-ladefense commented 2 years ago

By simply moving the writing of the TM1637_I2C_COMM3 into the setBrightness, the command becomes instantaneous and allows the brightness to be varied or the display to be turned off or on without rewriting a message after the setBrightness.

jasonacox commented 2 years ago

Thanks @stef-ladefense ! This is a great addition to the library and is much more intuitive.