Write SPIN code for TM1637 and TM1638 (Part II)

big-banging seven-segment driver chips

In Pat I of this series, we focused on TM1637, its digital signals and timing. In comparison, TM1638’s signals are a lot easier. Because it has an extra STB (just like SPI’s CS line), there is no need for START, END conditions.

Several inexpensive seven-segment modules use TM1638, such as QTF-TM1638, LED&KEY modules. Main features include:

  1. 8 of seven-segment digits
  2. push-button keyboard