- Display Name: TM1637
- Author: Gavin Lyons.
- Description: A Raspberry pi PICO SDK C++ library to drive TM1637 LED seven segment modules.
Connections to RPI:
- GPIO = CLK = Clock
- GPIO = DIO = Data input / output
- VCC 3.3V (or 5V see Note)
- GND
NOTE : If VCC is set to 5V, level shift GPIO to 3.3V or damage could result.
This library is tested on one variant of the TM1637 (model 4) which has 4 digits with centred semi-colon , the library should work with other models (six digit, decimal points, etc) but is untested.
Model 4:
There is one example file. A table in file 'tm1637_font_data.cpp' provides ASCII to Seven Segment data. . gfedcba (seven segments ) In the gfedcba representation, a byte value of 0x06 would turn on segments "c" and "b", which would display a "1". https://en.wikipedia.org/wiki/Seven-segment_display
The Serial Communications delay used is set by default to 75 uS, user can change this in constructor parameters.