So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By Johnd2117
#66848 Once again thank you for you help. This is the code I used :
Code: Select allint retMac = esp8266.localMAC(myMAC);
   if (retMac > 0)
   {
      Serial.print("My MAC address is: ");
      Serial.print(myMAC[0], HEX);
      Serial.print(":");
      Serial.print(myMAC[1], HEX);
      Serial.print(":");
      Serial.print(myMAC[2], HEX);
      Serial.print(":");
      Serial.print(myMAC[3], HEX);
      Serial.print(":");
      Serial.print(myMAC[4], HEX);
      Serial.print(":");
      Serial.println(myMAC[6], HEX);
   }


and it works perfectly. I now could enclose the Serial.print statements a for next loop, I'll look t that once I've got my head around some other stuff. : :lol: