get_wifi_mac.cpp
uint8_t mac[6];
WiFi.macAddress(mac);
Check out similar posts by category:
Arduino ESP8266/ESP32 Redes
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow