#include <WiFi.h>
#include <esp_system.h>
void setup() {
Serial.begin(115200);
Serial.println("Hello, ESP32!");
// Dapatkan MAC address
uint8_t mac[6];
esp_read_mac(mac, ESP_MAC_WIFI_STA);
// Tampilkan MAC address
Serial.printf("MAC Address: %02X:%02X:%02X:%02X:%02X:%02X\n", mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);
}
void loop() {
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
}