Advertisement
Double_G

NTP

Nov 18th, 2020 (edited)
483
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.26 KB | None | 0 0
  1. void loop() {
  2. img.fillSprite(TFT_BLACK);
  3. timeClient.update();
  4. ido = timeClient.getFormattedTime();
  5. img.setFreeFont(FSB18);
  6. img.setTextSize(2);
  7. img.setTextColor(TFT_WHITE,TFT_BLACK);
  8. img.drawCentreString(ido, 160, 60, GFXFF);
  9. img.pushSprite(0,30);
  10. delay(100);
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement