Introduction: 4 Digit Two Wire Display With Arduino
I was working on a project where i needed a 4 digit display but when I went to connect it to the Arduino all I found were articles about having to wire up 12 plus pins. Then I found this Suli library which makes it so simple a dummy like me can wire it up with two pins (digitial 2 and digital 3).
Grove TM1637 4 Digit display
Step 1: Connect Display to Arduino
If you have an Arduino with an I2C two wire plug then it's a no brainer.
I only had an Uno so connect display vcc to 5v, gnd to gnd, DIO to Arduino digital pin 2, and CLK to Arduio digital pin 3.
Step 2: Download Libraries
Get Suli library here: https://github.com/Seeed-Studio/Four_Digit_Display_Suli
Now I did have a problem running the demo until I copied the cpp and header files from
here: https://github.com/Seeed-Studio/Suli/tree/master/Suli_Arduino (Guess they had updates).
Get Four_Digit_Display here: https://github.com/Seeed-Studio/Four_Digit_Display_Suli
Hope you know how to install libraries.
Run the Four_Digit_Display demo in the Examples file.