ESP.getChipId)
uint64_t chipid; void setup) { Serial.begin115200); } void loop) { chipid=ESP.getEfuseMac);//The chip ID is essentially its MAC addresslength: 6 bytes). Serial.printf"ESP32 Chip ID = %04X",uint16_t)chipid>>32));//print High 2 bytes Serial.printf"%08X ",uint32_t)chipid);//print Low 4bytes. delay3000); }