Unverified Commit 33d93131 authored by Bodmer's avatar Bodmer Committed by GitHub

Update for ESP8266

ESP32 printf() can handle String type but ESP8266 cannot.
parent caef4519
......@@ -41,8 +41,8 @@ void loop(void) {
tft.getSetup(user); //
Serial.printf("\n[code]\n");
Serial.printf("TFT_eSPI ver = " + user.version) +"\n");
String ver = user.version;
Serial.println("TFT_eSPI ver = " + ver +"\n");
Serial.printf("Processor = ESP%i\n", user.esp, HEX);
Serial.printf("Frequency = %i MHz\n", ESP.getCpuFreqMHz());
#ifdef ESP8266
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment