Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement