Add A32U4 check

This commit is contained in:
Just Call Me Koko
2021-04-13 21:32:05 -04:00
parent 3f3b784d47
commit e3de597e0a
3 changed files with 34 additions and 1 deletions

View File

@@ -40,10 +40,17 @@ void EspInterface::begin() {
Serial.println("\nDisplay string: " + (String)display_string);
if (display_string == "ESP8266 Pong") {
display_obj.tft.setTextColor(TFT_GREEN, TFT_BLACK);
display_obj.tft.println("ESP8266 Found!");
display_obj.tft.setTextColor(TFT_CYAN, TFT_BLACK);
Serial.println("ESP8266 Found!");
this->supported = true;
}
else {
display_obj.tft.setTextColor(TFT_RED, TFT_BLACK);
display_obj.tft.println("ESP8266 Not Found");
display_obj.tft.setTextColor(TFT_CYAN, TFT_BLACK);
}
this->initTime = millis();
}