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
69 stars 19 forks source link

store arrays in flash #3

Closed nerdralph closed 3 years ago

nerdralph commented 3 years ago

If you store the segment arrays like digitToSegment in PROGMEM it reduces the RAM usage.

jasonacox commented 3 years ago

Good suggestion! It would save 111 bytes or so, which is helpful for small MCUs like the ATtiny. It was a simple update and I just checked it in. I want to verify it against a few more architectures and then I will release it as v1.3.0.

jasonacox commented 3 years ago

v1.3.0 released - thank you!