Arduino / TM1637 / 0.56 4-digit LED Display
Varianty s knihovani mi nefungovali. Tento návod pomohl a je funkční: https://github.com/moozzyk/TM1637Clock/blob/master/TM1637Clock/TM1637Clock.ino const int clock = 7; const int data = 8; /*0*/ /*1*/ /*2*/ /*3*/ /*4*/ /*5*/ /*6*/ /*7*/ /*8*/ /*9*/ uint8_t digits[] = { 0x3f, 0x06, 0x5b, 0x4f, 0x66, 0x6d, 0x7d, 0x07, 0x7f, 0x6f }; void setup() { setupInterrupt(); pinMode(clock, … Číst dál