You will need the following 3rd party libraries:
Timer - http://playground.arduino.cc/Code/Timer
Adafruit SSD1351 - https://github.com/adafruit/Adafruit-SSD1351-library
Adafruit GFX - https://github.com/adafruit/Adafruit-GFX-Library
This code most likely shit. I am not a C developer.