Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clive520/20aae3d83122d0f798f63e7dddf6cc96 to your computer and use it in GitHub Desktop.
Save clive520/20aae3d83122d0f798f63e7dddf6cc96 to your computer and use it in GitHub Desktop.
WIFI01_讀出機器的MAC_ESP32 NodeMCU 32S
#include "WiFi.h"
void setup(){
Serial.begin(9600);
WiFi.mode(WIFI_MODE_STA);
Serial.println("");
Serial.print("Mac Address :");
Serial.println(WiFi.macAddress()); //WiFi.macAddress()讀出機器的MAC
}
void loop(){}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment