bremme / arduino-tm1637

Arduino library for using a 4 digit seven segment display with TM1636 or TM1637 driver IC
GNU General Public License v2.0
164 stars 62 forks source link

Update SevenSegmentTM1637.cpp #48

Closed KenWillmott closed 4 years ago

KenWillmott commented 4 years ago

Replace all hard coded '4' representing display buffer size to previously declared constant TM1637_MAX_COLOM and replace all hard coded '3' with (TM1637_MAX_COLOM-1). No other changes, maintenance update in preparation for increasing buffer size to 6 for some displays.

KenWillmott commented 4 years ago

Oops, I discovered private variable '_numCols'. Need to investigate whether it is a better choice.