+#include <TinyScreen.h>
 #include <TimeLib.h>
 #include <SPI.h>
 #include <BLEPeripheral.h>

}

void messageWithSecondDelay(String msg){
  buffer.drawText(msg.c_str(),15,8,buffer.rgb(255,0,0), &virtualDJ_5ptFontInfo);
  refreshScreen();
  delay(1000);
}

}

void renderTime(){
  buffer.drawText(stringBuffer.start().put(hour() < 10 ? "0" : "").putDec(hour()).put(":").put(minute() < 10 ? "0" : "").putDec(minute()).put(":").put(second() < 10 ? "0" : "").putDec(second()).get(),20,16,buffer.rgb(255,255,255), &liberationSans_12ptFontInfo); 
}

void renderDate(){
  buffer.drawText(stringBuffer.start().putDec(month()).put("-").putDec(day()).put("-").putDec(year()).get(),24,34,buffer.rgb(255,255,255), &liberationSans_8ptFontInfo);
}

//TODO: Method to render background.

