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