4 digits TM1637 TRU components

Hello,
I try to display a number on the 4 digits TM1637 from TRU components but nothing works. I have tried a lot of program but no one works for me.
I put the CLK on 2 and DIO on 3.

Here is the program :
<
#include <TM1637Display.h>

const byte CLK1 = 2;
const byte DIO1 = 3;

TM1637Display display1(CLK1, DIO1);

int a = 1234;

void setup()
{
display1.setBrightness(7);
display1.clear();
pinMode(9, OUTPUT);

}

void loop()
{
display1.showNumberDec(a);
digitalWrite(9,HIGH);

}

Does someone can help me ?
Thanks a lot

Your code works with a normal TM1637 display (in a simulation):

In the simulation, there is unlimited power, the connections are always 100% okay, and the TM1637 behaves as it should.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.