Update TFT_eSPI to v2.5.43
This commit is contained in:
@@ -74,7 +74,7 @@ void setup() {
|
||||
tft.fillScreen(TFT_BLACK);
|
||||
|
||||
// Create the clock face sprite
|
||||
//face.setColorDepth(8); // 8 bit will work, but reduces effectiveness of anti-aliasing
|
||||
//face.setColorDepth(8); // 8-bit will work, but reduces effectiveness of anti-aliasing
|
||||
face.createSprite(FACE_W, FACE_H);
|
||||
|
||||
// Only 1 font used in the sprite, so can remain loaded
|
||||
|
||||
@@ -31,16 +31,16 @@ WiFiUDP udp;
|
||||
// Settings
|
||||
//====================================================================================
|
||||
|
||||
#define TIMEZONE UK // See below for other "Zone references", UK, usMT etc
|
||||
#define TIMEZONE UK // See below for other "Zone references", UK, usMT etc.
|
||||
|
||||
#ifdef ESP32 // Temporary fix, ESP8266 fails to communicate with some servers...
|
||||
// Try to use pool url instead so the server IP address is looked up from those available
|
||||
// Try to use pool URL instead so the server IP address is looked up from those available
|
||||
// (use a pool server in your own country to improve response time and reliability)
|
||||
//const char* ntpServerName = "time.nist.gov";
|
||||
//const char* ntpServerName = "pool.ntp.org";
|
||||
const char* ntpServerName = "time.google.com";
|
||||
#else
|
||||
// Try to use pool url instead so the server IP address is looked up from those available
|
||||
// Try to use pool URL instead so the server IP address is looked up from those available
|
||||
// (use a pool server in your own country to improve response time and reliability)
|
||||
// const char* ntpServerName = "time.nist.gov";
|
||||
const char* ntpServerName = "pool.ntp.org";
|
||||
|
||||
Reference in New Issue
Block a user