avishorp / TM1637

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

Add functions to display text #62

Closed mlesniew closed 4 years ago

mlesniew commented 4 years ago

Besides digits, a 7-segment display can also display letters. The changes in this pull request add support for displaying letters (and text in general). Of course, as there are only 7 segments, some letters look better than others, some can't really be properly displayed at all -- the mapping which defines what a given letter looks like on the display uses a best effort approach, suggestions to improve it are welcome.

The pull request also includes minor changes, which fix formatting inconsistencies (mainly tabs vs spaces in indentation) and typos in some of the comments.

avishorp commented 4 years ago

Thank you for your contribution, but I'm not going to pull this in. 7-segment displays are not meant to show letters (in the general case), and I don't think it's a very common use. If one has some specific message that can be displayed, he can always drive the segments directly.