Skip to content

Instantly share code, notes, and snippets.

@rnagarajanmca
Created August 13, 2017 08:43
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 rnagarajanmca/cee1dcd91dde5401ea0359897f87d3d8 to your computer and use it in GitHub Desktop.
Save rnagarajanmca/cee1dcd91dde5401ea0359897f87d3d8 to your computer and use it in GitHub Desktop.

Get Mac id of ESP8266

#include <Arduino.h>
#include <ESP8266WiFi.h>
void setup() {
    Serial.begin(115200);
    Serial.println("Mac address:"+WiFi.macAddress());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment