void print_chip_info(void)
{
Serial.print("Chip: ");
Serial.println(ESP.getChipModel());
Serial.print("ChipRevision: ");
Serial.println(ESP.getChipRevision());
Serial.print("Psram size: ");
Serial.print(ESP.getPsramSize() / 1024);
Serial.println("KB");
Serial.print("Flash size: ");
Serial.print(ESP.getFlashChipSize() / 1024);
Serial.println("KB");
}
// the setup function runs once when you press reset or power the board
void setup() {
Serial.begin(115200);
Serial.println("Hello T-QT");
//print_chip_info();
}
// the loop function runs over and over again forever
void loop() {
Serial.println(" ");
print_chip_info();
delay(1500); // wait for a second // wait for a second
}
Comments