AirSense Print Mac Address

mail@pastecode.io avatar
unknown
c_cpp
a month ago
272 B
2
Indexable
Never
#include <Arduino.h>
#include <WiFi.h>


void printMacAddress()
{
  Serial.print("MAC: ");
  Serial.println(WiFi.macAddress());
}

void setup()
{
  Serial.begin(115200);
  Serial.setTxTimeoutMs(0);
}

void loop()
{
  printMacAddress();
  delay(1000);
}
Leave a Comment