avishorp / TM1637

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

Can we combine number and letter like "123H"? #76

Closed HubKing closed 3 years ago

HubKing commented 3 years ago

There is a function for displaying numbers showNumberDec, and a function for displaying arbitrary segments setSegments, but what if I want to display both (but at different positions), like "123H"?

avishorp commented 3 years ago

showNumberDec should be considered a helper function, making it easy to display numbers. With setSegments you can display anything you want. You can also use a combination of both - showNumberDec to display the number part and setSegments to set only the non-numeric digits.