The following explanation of the code and how it works and how to connect TM1638
(with led array, display and button array) to Arduino.
For IDE and project Initialization I used PlatformIO and due to that and since it makes lots of stuff easier it generates project in C++ with lots os useful configs pre-prepared and if your using Git you will find already prepared .