You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a 3-pin serial TM1638 chip library for Arduino. It supports a combined LED driver controller and key-scan interface.
3
+
This is a 3-pin serial TM1638 chip library for Arduino, optimized for size and speed. It supports a combined LED driver controller and key-scan interface.
Displaying numbers, characters and reading keys depends on the hardware wiring and is not part of this library. A fully operational example for a board with 8 7-segment displays, 8 dual color LED's and 8 buttons which uses this library is available here: [JY-LKM1638](https://github.com/Erriez/ErriezLKM1638).
8
8
9
-
10
-
11
9
## Hardware
12
10
13
11
Connect power and 3 data pins to an Arduino board DIGITAL pins:
14
-
* VDD (Power 5V +/- 10%)
12
+
* VDD (Power 3.3V - 5V)
15
13
* GND (Ground)
16
14
* DIO (Bi-directional data input/output)
17
15
* STB (Chip select)
18
16
* CLK (Clock)
19
17
20
18
The following TM1638 pins should be connected to LED's and buttons in a matrix:
21
-
* K1~K3 (Key-scan data input)
19
+
* K1~K3 (Key-scan data input to read multiple key presses at the same time)
0 commit comments