2 #include <LiquidCrystal_I2C.h>
3 #include <TM1637Display.h>
5 // Module connection pins (Digital Pins)
9 TM1637Display display(CLK, DIO);
11 // Set the LCD address to 0x27 for a 16 chars and 2 line display
12 LiquidCrystal_I2C lcd(0x3F, 16, 2);
21 // Turn on the blacklight and print a message.
23 lcd.print("Rychta pyco!");
25 display.setBrightness(0x0f);
26 display.setColon(true);
27 display.showNumberDec(23);
36 digitalWrite(8, HIGH); // turn the LED on (HIGH is the voltage level)
37 display.setColon(true);
38 display.showNumberDec(i);
40 digitalWrite(8, LOW); // turn the LED off by making the voltage LOW
41 display.setColon(false);
42 display.showNumberDec(i++);