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

Changed abs() to labs() in showNumber() function #33

Closed KelevraSlevin7 closed 1 year ago

KelevraSlevin7 commented 1 year ago

abs() returns an int datatype but the "num" value is a long which causes issues when numbers bigger than 32,767 should be shown.